diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2021-06-24 10:40:18 +0200 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2021-06-24 19:35:29 +0200 |
commit | 4b850065b1631437b65542b3cb1c16077d2f0230 (patch) | |
tree | f88f79b9a647dc9bacbe406039f61aa03bb3ab20 /tests/auto/tools/moc/tst_moc.cpp | |
parent | 1cb63fcc97e2b114996e25e679b167cb5d392c60 (diff) |
Consistent indentation for BINDABLE properties
Triggered by API review in Gerrit patch 355960.
Task-number: QTBUG-94407
Pick-to: 6.2
Change-Id: I7cafc1cc9d4b929040b53c6bf92c91d73c3b39f2
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/tools/moc/tst_moc.cpp')
-rw-r--r-- | tests/auto/tools/moc/tst_moc.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp index 85630bd38b..752c539964 100644 --- a/tests/auto/tools/moc/tst_moc.cpp +++ b/tests/auto/tools/moc/tst_moc.cpp @@ -4116,7 +4116,8 @@ void tst_Moc::requiredProperties() class ClassWithQPropertyMembers : public QObject { Q_OBJECT - Q_PROPERTY(int publicProperty MEMBER publicProperty BINDABLE bindablePublicProperty NOTIFY publicPropertyChanged) + Q_PROPERTY(int publicProperty MEMBER publicProperty BINDABLE bindablePublicProperty + NOTIFY publicPropertyChanged) Q_PROPERTY(int privateExposedProperty MEMBER privateExposedProperty) public: @@ -4223,8 +4224,10 @@ class ClassWithPrivateQPropertyShim :public QObject { Q_OBJECT public: - Q_PROPERTY(int testProperty READ testProperty WRITE setTestProperty BINDABLE bindableTestProperty NOTIFY testPropertyChanged) - Q_PROPERTY(int testProperty2 READ testProperty2 WRITE setTestProperty2 BINDABLE bindableTestProperty2) + Q_PROPERTY(int testProperty READ testProperty WRITE setTestProperty + BINDABLE bindableTestProperty NOTIFY testPropertyChanged) + Q_PROPERTY(int testProperty2 READ testProperty2 WRITE setTestProperty2 + BINDABLE bindableTestProperty2) //Q_PROPERTY(d_func(), int, lazyTestProperty, setLazyTestProperty, NOTIFY lazyTestPropertyChanged) signals: |