diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-04-24 11:13:56 +0200 |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-04-24 11:24:40 +0200 |
commit | 391940bb9e3eef13efad9550d6e35b3db6f83c17 (patch) | |
tree | c1b46e5d1b0cce9da94600cefdcd80cfd603a77a /src/gui/kernel/qt_cocoa_helpers_mac_p.h | |
parent | 56ef2860a03e67afcb66c0827f1f258c7ae7c86d (diff) |
Drag and drop examples not working correctly in Cocoa
In the updated examples, the drag operation is changed in the drop-event
handler, which was not handled correctly in the Cocoa. This is now
supported for drag and drop from same application. If the drop was to
another application, the drag will return the result from the last
drag-move event.
Task-number: 252103
Reviewed-by: nrc
Diffstat (limited to 'src/gui/kernel/qt_cocoa_helpers_mac_p.h')
-rw-r--r-- | src/gui/kernel/qt_cocoa_helpers_mac_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac_p.h b/src/gui/kernel/qt_cocoa_helpers_mac_p.h index ef55aa44c4..63a301cea2 100644 --- a/src/gui/kernel/qt_cocoa_helpers_mac_p.h +++ b/src/gui/kernel/qt_cocoa_helpers_mac_p.h @@ -141,6 +141,7 @@ inline QApplication *qAppInstance() { return static_cast<QApplication *>(QCoreAp struct ::TabletProximityRec; void qt_dispatchTabletProximityEvent(const ::TabletProximityRec &proxRec); Qt::KeyboardModifiers qt_cocoaModifiers2QtModifiers(ulong modifierFlags); +Qt::KeyboardModifiers qt_cocoaDragOperation2QtModifiers(uint dragOperations); inline int flipYCoordinate(int y) { return QApplication::desktop()->screenGeometry(0).height() - y; |