diff options
Diffstat (limited to 'tests/auto/qml/testobject.h')
-rw-r--r-- | tests/auto/qml/testobject.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/testobject.h b/tests/auto/qml/testobject.h index e025ea6..5813dae 100644 --- a/tests/auto/qml/testobject.h +++ b/tests/auto/qml/testobject.h @@ -31,22 +31,29 @@ #define TESTOBJECT_H #include <QObject> +#include <QVariantMap> QT_BEGIN_NAMESPACE class TestObject : public QObject { Q_OBJECT + Q_PROPERTY(QVariantMap objectMap READ objectMap CONSTANT) public: explicit TestObject(QObject *parent = Q_NULLPTR); ~TestObject(); + QVariantMap objectMap() const; + public slots: void triggerSignals(); signals: void testSignalBool(bool testBool); void testSignalInt(int testInt); + +private: + QObject *embeddedObject; }; QT_END_NAMESPACE |