Obsolete Members for QDrag
The following members of class QDrag are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
| ||start(Qt::DropActions request = Qt::CopyAction)|
Member Function Documentation
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().
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.