aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/menus/cppsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/quickcontrols/menus/cppsettings.h')
-rw-r--r--tests/manual/quickcontrols/menus/cppsettings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/menus/cppsettings.h b/tests/manual/quickcontrols/menus/cppsettings.h
index b6af1f9f09..3c549db8ac 100644
--- a/tests/manual/quickcontrols/menus/cppsettings.h
+++ b/tests/manual/quickcontrols/menus/cppsettings.h
@@ -13,6 +13,8 @@ class CppSettings : public QObject
Q_OBJECT
Q_PROPERTY(bool dontUseNativeMenuBar READ dontUseNativeMenuBar WRITE setDontUseNativeMenuBar
NOTIFY dontUseNativeMenuBarChanged FINAL)
+ Q_PROPERTY(bool dontUseNativeMenuWindows READ dontUseNativeMenuWindows WRITE setDontUseNativeMenuWindows
+ NOTIFY dontUseNativeMenuBarChanged FINAL)
Q_PROPERTY(int popupType READ popupType WRITE setPopupType
NOTIFY popupTypeChanged FINAL)
QML_ELEMENT
@@ -27,8 +29,12 @@ public:
int popupType() const;
void setPopupType(int newPopupType);
+ bool dontUseNativeMenuWindows() const;
+ void setDontUseNativeMenuWindows(bool newDontUseNativeMenuWindows);
+
signals:
void dontUseNativeMenuBarChanged();
+ void dontUseNativeMenuWindowsChanged();
void popupTypeChanged();
private: