diff options
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface_qpa.h')
-rw-r--r-- | src/gui/kernel/qwindowsysteminterface_qpa.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface_qpa.h b/src/gui/kernel/qwindowsysteminterface_qpa.h index 07963b6f97..7df7c2deb4 100644 --- a/src/gui/kernel/qwindowsysteminterface_qpa.h +++ b/src/gui/kernel/qwindowsysteminterface_qpa.h @@ -55,6 +55,8 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +class QMimeData; + QT_MODULE(Gui) class Q_GUI_EXPORT QWindowSystemInterface @@ -103,6 +105,10 @@ public: static void handleExposeEvent(QWindow *w, const QRegion ®ion); + // Drag and drop. These events are sent immediately. + static Qt::DropAction handleDrag(QWindow *w, QMimeData *dropData, const QPoint &p); + static Qt::DropAction handleDrop(QWindow *w, QMimeData *dropData, const QPoint &p); + // Changes to the screen static void handleScreenGeometryChange(int screenIndex); static void handleScreenAvailableGeometryChange(int screenIndex); |