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/IncA.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/IncA.cpp')
-rw-r--r-- | Tests/QtAutogen/MocOnly/IncA.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocOnly/IncA.cpp b/Tests/QtAutogen/MocOnly/IncA.cpp new file mode 100644 index 0000000..94610cd --- /dev/null +++ b/Tests/QtAutogen/MocOnly/IncA.cpp @@ -0,0 +1,19 @@ +#include "moc_IncA.cpp" +/// AUTOMOC moc_ include on the first line of the file! +#include "IncA.hpp" + +/// @brief Source local QObject +/// +class IncAPrivate : public QObject +{ + Q_OBJECT +public: + IncAPrivate(){}; +}; + +IncA::IncA() +{ + IncAPrivate priv; +} + +#include "IncA.moc" |