aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickmenuitem_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-11-06 14:18:12 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-11-06 14:15:04 +0000
commit8a56c3322f72d0ec1d55c3bfb679355919f27e34 (patch)
tree0ee4e2976af445207cde9e1743eadc4074abc31e /src/quicktemplates2/qquickmenuitem_p.h
parentc39b126a77e27296ef82a1634753c775cc5a93fb (diff)
Re-order revision 3 members and add explanatory comments
We've come to realize that even though it's tempting to group similar properties together, organizing the API so that revisions are grouped together makes future maintenance more pleasant. It's a lot easier to to see what was added and when. The same was done for earlier revisions in 5.9 in commit 430fe83. Change-Id: I738d7fdadd348c21737228c37d0f31e39b37f8e7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickmenuitem_p.h')
-rw-r--r--src/quicktemplates2/qquickmenuitem_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickmenuitem_p.h b/src/quicktemplates2/qquickmenuitem_p.h
index 7c469b6a..8af3cbd1 100644
--- a/src/quicktemplates2/qquickmenuitem_p.h
+++ b/src/quicktemplates2/qquickmenuitem_p.h
@@ -59,6 +59,7 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickMenuItem : public QQuickAbstractBut
{
Q_OBJECT
Q_PROPERTY(bool highlighted READ isHighlighted WRITE setHighlighted NOTIFY highlightedChanged FINAL)
+ // 2.3 (Qt 5.10)
Q_PROPERTY(QQuickItem *arrow READ arrow WRITE setArrow NOTIFY arrowChanged FINAL REVISION 3)
Q_PROPERTY(QQuickMenu *menu READ menu NOTIFY menuChanged FINAL REVISION 3)
Q_PROPERTY(QQuickMenu *subMenu READ subMenu NOTIFY subMenuChanged FINAL REVISION 3)
@@ -69,6 +70,7 @@ public:
bool isHighlighted() const;
void setHighlighted(bool highlighted);
+ // 2.3 (Qt 5.10)
QQuickItem *arrow() const;
void setArrow(QQuickItem *arrow);
@@ -78,6 +80,7 @@ public:
Q_SIGNALS:
void triggered();
void highlightedChanged();
+ // 2.3 (Qt 5.10)
Q_REVISION(3) void arrowChanged();
Q_REVISION(3) void menuChanged();
Q_REVISION(3) void subMenuChanged();