Cocoa: Implement Drag-and-Drop.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 7 Mar 2012 13:46:04 +0000 (14:46 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Mar 2012 15:37:24 +0000 (16:37 +0100)
commit24be238fccee67ad060247ad22e15b6bddd506e0
treec342201da5f78bf13e112e2e64ceed3d2c51f290
parentb460eca94127123b8408c7fe048d7c77446547d9
Cocoa: Implement Drag-and-Drop.

Implement drag and drop support for drags originating
from outside Qt. Port mime and pasteboard code from
Qt 4. Use QSimpleDrag from from platform support to
implement internal Qt drags.

Change-Id: I5b664a95ebb00f48de2bd21c24dfb579af16123e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
14 files changed:
src/plugins/platforms/cocoa/cocoa.pro
src/plugins/platforms/cocoa/qcocoadrag.h [new file with mode: 0644]
src/plugins/platforms/cocoa/qcocoadrag.mm [new file with mode: 0644]
src/plugins/platforms/cocoa/qcocoahelpers.h
src/plugins/platforms/cocoa/qcocoahelpers.mm
src/plugins/platforms/cocoa/qcocoaintegration.h
src/plugins/platforms/cocoa/qcocoaintegration.mm
src/plugins/platforms/cocoa/qmacclipboard.h [new file with mode: 0644]
src/plugins/platforms/cocoa/qmacclipboard.mm [new file with mode: 0644]
src/plugins/platforms/cocoa/qmacmime.h [new file with mode: 0644]
src/plugins/platforms/cocoa/qmacmime.mm [new file with mode: 0644]
src/plugins/platforms/cocoa/qnsview.h
src/plugins/platforms/cocoa/qnsview.mm
src/plugins/platforms/cocoa/qt_mac_p.h