summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindowsysteminterface_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface_p.h')
-rw-r--r--src/gui/kernel/qwindowsysteminterface_p.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface_p.h b/src/gui/kernel/qwindowsysteminterface_p.h
index b99ac71bb3..87dbeb2a9c 100644
--- a/src/gui/kernel/qwindowsysteminterface_p.h
+++ b/src/gui/kernel/qwindowsysteminterface_p.h
@@ -76,7 +76,8 @@ public:
FileOpen,
Tablet,
TabletEnterProximity,
- TabletLeaveProximity
+ TabletLeaveProximity,
+ PlatformPanel
};
class WindowSystemEvent {
@@ -325,6 +326,13 @@ public:
qint64 uid;
};
+ class PlatformPanelEvent : public WindowSystemEvent {
+ public:
+ explicit PlatformPanelEvent(QWindow *w)
+ : WindowSystemEvent(PlatformPanel), window(w) { }
+ QPointer<QWindow> window;
+ };
+
class WindowSystemEventList {
QList<WindowSystemEvent *> impl;
mutable QMutex mutex;