diff options
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h index 80077da63..fd80b8c99 100644 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h +++ b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h @@ -39,6 +39,10 @@ namespace TestQDoc { class Test { +#ifdef test_properties + Q_OBJECT + Q_PROPERTY(int id READ id) +#endif public: #ifdef test_template @@ -95,6 +99,9 @@ protected: a = b; } #endif +#ifdef test_properties + virtual int id() { return 0; } +#endif }; class TestDerived : public Test { @@ -122,6 +129,7 @@ public: const QString *name() const; Q_INVOKABLE void invokeMe() const {} + int id() override; Q_SIGNALS: void emitSomething(QPrivateSignal); |