Qt:Документация 4.3.2/q3dropsite

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Q3DropSite Class Reference
[ Qt3Support module]

The Q3DropSite class provides nothing and does nothing. Далее...

 #include <Q3DropSite>

This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. See Porting to Qt 4 for more information.

[править] Открытые функции


[править] Подробное описание

The Q3DropSite class provides nothing and does nothing.

It was used in Qt 1.x to do some drag and drop; that has since been folded into QWidget.

See also Q3DragObject, Q3TextDrag, and Q3ImageDrag.


[править] Описание функций-членов

[править]
Q3DropSite::Q3DropSite ( QWidget * self )

Constructs a Q3DropSite to handle events for the widget self.

Pass this as the self parameter. This enables dropping by calling QWidget::setAcceptDrops(true).

[править]
Q3DropSite::~Q3DropSite () [virtual]

Destroys the drop site.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2