diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-06 16:39:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-06 16:39:29 (GMT) |
commit | e1f632cea05b726dcf1e19d55b5549f422dbbe1d (patch) | |
tree | 887cff23a62183b1be3a7ff561a6c04d56ca6aca /Tests/QtAutogen/MocCMP0100/Obj2.cpp | |
parent | b67c53dddfcf956f4d55cbdc0f4e7705f62e805b (diff) | |
parent | 9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43 (diff) | |
download | CMake-e1f632cea05b726dcf1e19d55b5549f422dbbe1d.zip CMake-e1f632cea05b726dcf1e19d55b5549f422dbbe1d.tar.gz CMake-e1f632cea05b726dcf1e19d55b5549f422dbbe1d.tar.bz2 |
Merge topic 'autogen_hh_headers'
9eab3cad6a Tests: Add AUTOGEN policy CMP0100 test
8c2be3ae94 Tests: Restore Autogen/SameName .hh header test
abad139c99 Autogen: Process .hh headers based on new policy CMP0100 settings
4db1463e05 Autogen: Try adding header suffix to moc output file name on name conflicts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4170
Diffstat (limited to 'Tests/QtAutogen/MocCMP0100/Obj2.cpp')
-rw-r--r-- | Tests/QtAutogen/MocCMP0100/Obj2.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocCMP0100/Obj2.cpp b/Tests/QtAutogen/MocCMP0100/Obj2.cpp new file mode 100644 index 0000000..8a359ad --- /dev/null +++ b/Tests/QtAutogen/MocCMP0100/Obj2.cpp @@ -0,0 +1,31 @@ +#include "Obj2.hh" + +#include <QObject> + +class Obj2Private : public QObject +{ + Q_OBJECT +public: + Obj2Private(); + ~Obj2Private(); +}; + +Obj2Private::Obj2Private() +{ +} + +Obj2Private::~Obj2Private() +{ +} + +Obj2::Obj2() + : d(new Obj2Private) +{ +} + +Obj2::~Obj2() +{ + delete d; +} + +#include "Obj2.moc" |