diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/testtypes.h')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/testtypes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/testtypes.h b/tests/auto/qml/qqmlecmascript/testtypes.h index 514dfb6f8f..725624781b 100644 --- a/tests/auto/qml/qqmlecmascript/testtypes.h +++ b/tests/auto/qml/qqmlecmascript/testtypes.h @@ -1746,6 +1746,15 @@ public slots: void selection(const QItemSelection &is, int n = 0) { funcCalled = QLatin1String("QItemSelection"); } }; +struct ClassWithQProperty2 : public QObject +{ + Q_OBJECT + Q_PROPERTY(float value) +public: + void callback(); + QNotifiedProperty<float, &ClassWithQProperty2::callback> value; +}; + void registerTypes(); #endif // TESTTYPES_H |