aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickbuttongroup_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickbuttongroup_p.h')
-rw-r--r--src/quicktemplates2/qquickbuttongroup_p.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/quicktemplates2/qquickbuttongroup_p.h b/src/quicktemplates2/qquickbuttongroup_p.h
index 84ddd225..daff84f2 100644
--- a/src/quicktemplates2/qquickbuttongroup_p.h
+++ b/src/quicktemplates2/qquickbuttongroup_p.h
@@ -66,10 +66,13 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickButtonGroup : public QObject, publi
Q_PROPERTY(QQuickAbstractButton *checkedButton READ checkedButton WRITE setCheckedButton NOTIFY checkedButtonChanged FINAL)
Q_PROPERTY(QQmlListProperty<QQuickAbstractButton> buttons READ buttons NOTIFY buttonsChanged FINAL)
// 2.3 (Qt 5.10)
- Q_PROPERTY(bool exclusive READ isExclusive WRITE setExclusive NOTIFY exclusiveChanged FINAL REVISION 3)
+ Q_PROPERTY(bool exclusive READ isExclusive WRITE setExclusive NOTIFY exclusiveChanged FINAL REVISION(2, 3))
// 2.4 (Qt 5.11)
- Q_PROPERTY(Qt::CheckState checkState READ checkState WRITE setCheckState NOTIFY checkStateChanged FINAL REVISION 4)
+ Q_PROPERTY(Qt::CheckState checkState READ checkState WRITE setCheckState NOTIFY checkStateChanged FINAL REVISION(2, 4))
Q_INTERFACES(QQmlParserStatus)
+ QML_NAMED_ELEMENT(ButtonGroup)
+ QML_ATTACHED(QQuickButtonGroupAttached)
+ QML_ADDED_IN_VERSION(2, 0)
public:
explicit QQuickButtonGroup(QObject *parent = nullptr);
@@ -97,11 +100,11 @@ Q_SIGNALS:
void checkedButtonChanged();
void buttonsChanged();
// 2.1 (Qt 5.8)
- Q_REVISION(1) void clicked(QQuickAbstractButton *button);
+ Q_REVISION(2, 1) void clicked(QQuickAbstractButton *button);
// 2.3 (Qt 5.10)
- Q_REVISION(3) void exclusiveChanged();
+ Q_REVISION(2, 3) void exclusiveChanged();
// 2.4 (Qt 5.11)
- Q_REVISION(4) void checkStateChanged();
+ Q_REVISION(2, 4) void checkStateChanged();
protected:
void classBegin() override;