summaryrefslogtreecommitdiffstats
path: root/src/plugins/platformthemes/gtk3/qgtk3theme.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-26 14:51:55 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-06-15 11:28:47 +0000
commitac8a1787eb74d374a346ae5982d0ea361747729e (patch)
tree79630699019be4c8e01c3f03f003bc0bea9d50b9 /src/plugins/platformthemes/gtk3/qgtk3theme.h
parente5ddc9b32a8691c65eb3206d4122d5ef60d414c3 (diff)
Implement QPA menu for GTK+ 3.x
QGtk3Menu provides native stand-alone context menus, which is not covered by the recently introduced QDBusPlatformMenu (limited to global menubars and system trays). Change-Id: Ida42ebaf69444e6b3150dc0ccf9b44e80cf71c20 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/plugins/platformthemes/gtk3/qgtk3theme.h')
-rw-r--r--src/plugins/platformthemes/gtk3/qgtk3theme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platformthemes/gtk3/qgtk3theme.h b/src/plugins/platformthemes/gtk3/qgtk3theme.h
index 8bb9adeab8..52036680c6 100644
--- a/src/plugins/platformthemes/gtk3/qgtk3theme.h
+++ b/src/plugins/platformthemes/gtk3/qgtk3theme.h
@@ -55,6 +55,9 @@ public:
bool usePlatformNativeDialog(DialogType type) const Q_DECL_OVERRIDE;
QPlatformDialogHelper *createPlatformDialogHelper(DialogType type) const Q_DECL_OVERRIDE;
+ QPlatformMenu* createPlatformMenu() const Q_DECL_OVERRIDE;
+ QPlatformMenuItem* createPlatformMenuItem() const Q_DECL_OVERRIDE;
+
static const char *name;
};