From c825865cdd88445aa1db94cdf0da89426919acdb Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Mon, 12 Sep 2011 14:17:08 +1000 Subject: Add DropArea item and Drag attached property. Refactors drag API to improve compatibility with traditional drag and drop by reusing events and adding drop actions. Event sending is removed from MouseArea, instead the Drag object can be attached to the item that is dragged and it will send drag events when the position of that item is changed or when its active property changes. The DragTarget item is renamed to DropArea and can now communicate supported and suggested actions. Task-number: QTBUG-19747 Change-Id: I46cb77e68cf1ff32bbcbf0945facb593c9c2243c Reviewed-on: http://codereview.qt-project.org/4638 Sanity-Review: Qt Sanity Bot Reviewed-by: Martin Jones --- tools/qmlplugindump/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index e7f183e798..d0ab0d8784 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -43,7 +43,6 @@ #include #include #include -#include #include #include @@ -588,7 +587,7 @@ int main(int argc, char *argv[]) // add some otherwise unreachable QMetaObjects defaultReachable.insert(&QSGMouseEvent::staticMetaObject); - // QSGKeyEvent, QSGPinchEvent, QSGDragTargetEvent are not exported + // QSGKeyEvent, QSGPinchEvent, QSGDropEvent are not exported // this will hold the meta objects we want to dump information of QSet metas; -- cgit v1.2.3