diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-08 18:40:17 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-13 12:50:17 (GMT) |
commit | cc66d356510c51b5240239a212a511fb0d23dc9a (patch) | |
tree | 5a844861aebf5ede3030bc2aedad2bea6d02298e /Tests/QtAutogen/MocInclude/LObjA.cpp | |
parent | 7971202b3c58f78008f5b651c048910fcc49c49f (diff) | |
download | CMake-cc66d356510c51b5240239a212a511fb0d23dc9a.zip CMake-cc66d356510c51b5240239a212a511fb0d23dc9a.tar.gz CMake-cc66d356510c51b5240239a212a511fb0d23dc9a.tar.bz2 |
Autogen: Tests: Separate MocInclude test
Diffstat (limited to 'Tests/QtAutogen/MocInclude/LObjA.cpp')
-rw-r--r-- | Tests/QtAutogen/MocInclude/LObjA.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocInclude/LObjA.cpp b/Tests/QtAutogen/MocInclude/LObjA.cpp new file mode 100644 index 0000000..9aae991 --- /dev/null +++ b/Tests/QtAutogen/MocInclude/LObjA.cpp @@ -0,0 +1,39 @@ +#include "LObjA.hpp" +#include "LObjA_p.h" + +class LObjALocal : public QObject +{ + Q_OBJECT +public: + LObjALocal(); + ~LObjALocal(); +}; + +LObjALocal::LObjALocal() +{ +} + +LObjALocal::~LObjALocal() +{ +} + +LObjAPrivate::LObjAPrivate() +{ + LObjALocal localObj; +} + +LObjAPrivate::~LObjAPrivate() +{ +} + +LObjA::LObjA() + : d(new LObjAPrivate) +{ +} + +LObjA::~LObjA() +{ + delete d; +} + +#include "LObjA.moc" |