src/gui/kernel/qdrag.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   251 
   251 
   252     \bold{Note:} On Linux and Mac OS X, the drag and drop operation
   252     \bold{Note:} On Linux and Mac OS X, the drag and drop operation
   253     can take some time, but this function does not block the event
   253     can take some time, but this function does not block the event
   254     loop. Other events are still delivered to the application while
   254     loop. Other events are still delivered to the application while
   255     the operation is performed. On Windows, the Qt event loop is
   255     the operation is performed. On Windows, the Qt event loop is
   256     blocked while during the operation.
   256     blocked during the operation. However, QDrag::exec() on
       
   257 	Windows causes processEvents() to be called frequently to keep the GUI responsive.
       
   258 	If any loops or operations are called while a drag operation is active, it will block the drag operation.
   257 */
   259 */
   258 
   260 
   259 Qt::DropAction QDrag::exec(Qt::DropActions supportedActions, Qt::DropAction defaultDropAction)
   261 Qt::DropAction QDrag::exec(Qt::DropActions supportedActions, Qt::DropAction defaultDropAction)
   260 {
   262 {
   261     Q_D(QDrag);
   263     Q_D(QDrag);