diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-11-06 14:18:12 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-11-06 14:15:04 +0000 |
commit | 8a56c3322f72d0ec1d55c3bfb679355919f27e34 (patch) | |
tree | 0ee4e2976af445207cde9e1743eadc4074abc31e /src/quicktemplates2/qquickspinbox_p.h | |
parent | c39b126a77e27296ef82a1634753c775cc5a93fb (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/qquickspinbox_p.h')
-rw-r--r-- | src/quicktemplates2/qquickspinbox_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickspinbox_p.h b/src/quicktemplates2/qquickspinbox_p.h index 26c1dd40..6485c053 100644 --- a/src/quicktemplates2/qquickspinbox_p.h +++ b/src/quicktemplates2/qquickspinbox_p.h @@ -74,6 +74,7 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickSpinBox : public QQuickControl // 2.2 (Qt 5.9) Q_PROPERTY(Qt::InputMethodHints inputMethodHints READ inputMethodHints WRITE setInputMethodHints NOTIFY inputMethodHintsChanged FINAL REVISION 2) Q_PROPERTY(bool inputMethodComposing READ isInputMethodComposing NOTIFY inputMethodComposingChanged FINAL REVISION 2) + // 2.3 (Qt 5.10) Q_PROPERTY(bool wrap READ wrap WRITE setWrap NOTIFY wrapChanged FINAL REVISION 3) public: @@ -112,6 +113,7 @@ public: bool isInputMethodComposing() const; + // 2.3 (Qt 5.10) bool wrap() const; void setWrap(bool wrap); @@ -132,6 +134,7 @@ Q_SIGNALS: Q_REVISION(2) void valueModified(); Q_REVISION(2) void inputMethodHintsChanged(); Q_REVISION(2) void inputMethodComposingChanged(); + // 2.3 (Qt 5.10) Q_REVISION(3) void wrapChanged(); protected: |