summaryrefslogtreecommitdiffstats
path: root/src/controls/qquickmenu_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qquickmenu_p.h')
-rw-r--r--src/controls/qquickmenu_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controls/qquickmenu_p.h b/src/controls/qquickmenu_p.h
index f49f6d623..8e881fb4f 100644
--- a/src/controls/qquickmenu_p.h
+++ b/src/controls/qquickmenu_p.h
@@ -51,6 +51,7 @@ class QPlatformMenu;
class QQuickMenuPopupWindow;
class QQuickMenuItemContainer;
class QQuickWindow;
+class QQuickMenuBar;
typedef QQmlListProperty<QObject> QQuickMenuItems;
@@ -152,6 +153,8 @@ public:
void destroyMenuPopup();
void destroyAllMenuPopups();
+ QQuickMenuBar *menuBar();
+
protected Q_SLOTS:
void updateSelectedIndex();