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

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

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

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QDrag

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.



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

  • Qt::DropAction start ( Qt::DropActions request = Qt::CopyAction ) (obsolete)

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

[править]
Qt::DropAction QDrag::start ( Qt::DropActions request = Qt::CopyAction )

Note: It is recommended to use exec() instead of this function.

Starts the drag and drop operation and returns a value indicating the requested drop action when it is completed. The drop actions that the user can choose from are specified in request. Qt::CopyAction is always allowed.

Note: Although the drag and drop operation can take some time, this function does not block the event loop. Other events are still delivered to the application while the operation is performed.

See also exec().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2