diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-18 09:31:49 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-18 17:38:45 (GMT) |
commit | ff91a5d54b5458eaebab6be814624925a02eccd7 (patch) | |
tree | 8ea2dfdf77d1df28ca960d4ce6a9ca318d580d5c /Tests/QtAutogen/MocOnly/IncB.cpp | |
parent | a1d491ca2721d234eb10553a9e336f51752aa2a0 (diff) | |
download | CMake-ff91a5d54b5458eaebab6be814624925a02eccd7.zip CMake-ff91a5d54b5458eaebab6be814624925a02eccd7.tar.gz CMake-ff91a5d54b5458eaebab6be814624925a02eccd7.tar.bz2 |
Autogen: Tests: Extend AUTOMOC include patterns test
Diffstat (limited to 'Tests/QtAutogen/MocOnly/IncB.cpp')
-rw-r--r-- | Tests/QtAutogen/MocOnly/IncB.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocOnly/IncB.cpp b/Tests/QtAutogen/MocOnly/IncB.cpp new file mode 100644 index 0000000..bd441a9 --- /dev/null +++ b/Tests/QtAutogen/MocOnly/IncB.cpp @@ -0,0 +1,19 @@ +#include "IncB.hpp" + +/// @brief Source local QObject +/// +class IncBPrivate : public QObject +{ + Q_OBJECT +public: + IncBPrivate(){}; +}; + +IncB::IncB() +{ + IncBPrivate priv; +} + +/// AUTOMOC moc_ include on the last line of the file! +#include "IncB.moc" +#include "moc_IncB.cpp" |