From 9695df4d44b228e7e778ff17d5cccac30967b1fd Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 25 Sep 2012 16:46:56 +0100 Subject: Introducing the PlatformPanel event type. This event can be used by any platform plugin to implement special application panels/overlayed menus. Currently used by QNX only. This replaces sending fake Qt::Key_Menu presses in the QNX plugin. Qt::Key_Menu is already used when invoking context menus with the keyboard. Change-Id: I9c8f1743fd147a07c11883323800017376915ae1 Reviewed-by: Kevin Krammer Reviewed-by: Sean Harmer Reviewed-by: Nicolas Arnaud-Cormos Reviewed-by: Paul Olav Tvete --- src/gui/kernel/qguiapplication_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/kernel/qguiapplication_p.h') diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index be5435c0bc..0c81d78f86 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -137,6 +137,8 @@ public: static void processTabletEnterProximityEvent(QWindowSystemInterfacePrivate::TabletEnterProximityEvent *e); static void processTabletLeaveProximityEvent(QWindowSystemInterfacePrivate::TabletLeaveProximityEvent *e); + static void processPlatformPanelEvent(QWindowSystemInterfacePrivate::PlatformPanelEvent *e); + #ifndef QT_NO_DRAGANDDROP static QPlatformDragQtResponse processDrag(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions); static QPlatformDropQtResponse processDrop(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions); -- cgit v1.2.3