summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocInclude/ObjA.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/mocInclude/ObjA.hpp')
-rw-r--r--Tests/QtAutogen/mocInclude/ObjA.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Tests/QtAutogen/mocInclude/ObjA.hpp b/Tests/QtAutogen/mocInclude/ObjA.hpp
index 281e90d..f16c924 100644
--- a/Tests/QtAutogen/mocInclude/ObjA.hpp
+++ b/Tests/QtAutogen/mocInclude/ObjA.hpp
@@ -3,11 +3,17 @@
#include <QObject>
+// Object source comes without any _moc/.moc includes
+class ObjAPrivate;
class ObjA : public QObject
{
Q_OBJECT
- Q_SLOT
- void go();
+public:
+ ObjA();
+ ~ObjA();
+
+private:
+ ObjAPrivate* const d;
};
#endif