diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-07-09 10:45:07 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-07-20 14:55:11 (GMT) |
commit | f5ccef17515ed4794659923706989fa059b4df38 (patch) | |
tree | a89fb812c1806f77ffa12621cb055694ac8a79dc /Tests/QtAutogen/mocInclude/LObjB.cpp | |
parent | a8d8d2fd05e65444e52adb5164a38f3c64b247d5 (diff) | |
download | CMake-f5ccef17515ed4794659923706989fa059b4df38.zip CMake-f5ccef17515ed4794659923706989fa059b4df38.tar.gz CMake-f5ccef17515ed4794659923706989fa059b4df38.tar.bz2 |
Autogen: Extended mocInclude tests
The extended tests cover more AUTOMOC use cases.
Diffstat (limited to 'Tests/QtAutogen/mocInclude/LObjB.cpp')
-rw-r--r-- | Tests/QtAutogen/mocInclude/LObjB.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocInclude/LObjB.cpp b/Tests/QtAutogen/mocInclude/LObjB.cpp new file mode 100644 index 0000000..7485d8f --- /dev/null +++ b/Tests/QtAutogen/mocInclude/LObjB.cpp @@ -0,0 +1,40 @@ +#include "LObjB.hpp" +#include "LObjB_p.h" + +class LObjBLocal : public QObject +{ + Q_OBJECT +public: + LObjBLocal(); + ~LObjBLocal(); +}; + +LObjBLocal::LObjBLocal() +{ +} + +LObjBLocal::~LObjBLocal() +{ +} + +LObjBPrivate::LObjBPrivate() +{ + LObjBLocal localObj; +} + +LObjBPrivate::~LObjBPrivate() +{ +} + +LObjB::LObjB() + : d(new LObjBPrivate) +{ +} + +LObjB::~LObjB() +{ + delete d; +} + +#include "LObjB.moc" +#include "moc_LObjB.cpp" |