diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-07-14 11:52:39 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-07-14 12:42:56 (GMT) |
commit | 247e3637c41cc14d174a1170957274fb8a9400b4 (patch) | |
tree | 617c74db59ed73e196803a4235eec375f0180cdc /src/gui/kernel/qcocoaview_mac_p.h | |
parent | 09503163c88d57b9b163530131c0ec0a1e4194fd (diff) | |
download | Qt-247e3637c41cc14d174a1170957274fb8a9400b4.zip Qt-247e3637c41cc14d174a1170957274fb8a9400b4.tar.gz Qt-247e3637c41cc14d174a1170957274fb8a9400b4.tar.bz2 |
Drag and drop cursor doesnot change on invalid drop areas (Cocoa)
Previos versions of Mac OS X (< 10.6) didn't have support for such 'Not
Allowed' cursors. 10.6 introduced a new method for NSCursor called
operationNotAllowedCursor. This fix uses the new cusor on available platforms.
Task-number: QTBUG-5186
Reviewed-by: Denis
Diffstat (limited to 'src/gui/kernel/qcocoaview_mac_p.h')
-rw-r--r-- | src/gui/kernel/qcocoaview_mac_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qcocoaview_mac_p.h b/src/gui/kernel/qcocoaview_mac_p.h index 33aaa24..b6b63ca 100644 --- a/src/gui/kernel/qcocoaview_mac_p.h +++ b/src/gui/kernel/qcocoaview_mac_p.h @@ -106,6 +106,7 @@ Q_GUI_EXPORT - (void) qt_clearQWidget; - (BOOL)qt_leftButtonIsRightButton; - (void)qt_setLeftButtonIsRightButton:(BOOL)isSwapped; +- (void)changeDraggingCursor:(NSDragOperation)newOperation; + (DnDParams*)currentMouseEvent; @end |