diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-16 14:59:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-21 15:38:49 (GMT) |
commit | 39c4819eaa4f680411a63701b1303d79a088aece (patch) | |
tree | 1588c2a9e6d0595552e542791bee12cc821c450d /Tests/QtAutogen/mocInclude/ObjA.cpp | |
parent | 50805693ba987fbf86bb5e8263d7b427cd4da0c2 (diff) | |
download | CMake-39c4819eaa4f680411a63701b1303d79a088aece.zip CMake-39c4819eaa4f680411a63701b1303d79a088aece.tar.gz CMake-39c4819eaa4f680411a63701b1303d79a088aece.tar.bz2 |
Autogen: Tests: Add moc include tests
Diffstat (limited to 'Tests/QtAutogen/mocInclude/ObjA.cpp')
-rw-r--r-- | Tests/QtAutogen/mocInclude/ObjA.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocInclude/ObjA.cpp b/Tests/QtAutogen/mocInclude/ObjA.cpp new file mode 100644 index 0000000..1b0311d --- /dev/null +++ b/Tests/QtAutogen/mocInclude/ObjA.cpp @@ -0,0 +1,24 @@ +#include "ObjA.hpp" + +class SubObjA : public QObject +{ + Q_OBJECT + +public: + SubObjA() {} + ~SubObjA() {} + + Q_SLOT + void aSlot(); +}; + +void SubObjA::aSlot() +{ +} + +void ObjA::go() +{ + SubObjA subObj; +} + +#include "ObjA.moc" |