diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-18 10:13:41 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-01-19 18:21:12 (GMT) |
commit | b4e6911bf51c05001c1b3cbcc04587afa6ba4577 (patch) | |
tree | 6a85660e7fc6e991beb58ce4fd288289a0f2d70e /Tests/QtAutogen/UicOnly/UicOnly.cpp | |
parent | ff91a5d54b5458eaebab6be814624925a02eccd7 (diff) | |
download | CMake-b4e6911bf51c05001c1b3cbcc04587afa6ba4577.zip CMake-b4e6911bf51c05001c1b3cbcc04587afa6ba4577.tar.gz CMake-b4e6911bf51c05001c1b3cbcc04587afa6ba4577.tar.bz2 |
Autogen: Tests: Extend AUTOUIC include patterns test
Diffstat (limited to 'Tests/QtAutogen/UicOnly/UicOnly.cpp')
-rw-r--r-- | Tests/QtAutogen/UicOnly/UicOnly.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/QtAutogen/UicOnly/UicOnly.cpp b/Tests/QtAutogen/UicOnly/UicOnly.cpp new file mode 100644 index 0000000..8eee6d2 --- /dev/null +++ b/Tests/QtAutogen/UicOnly/UicOnly.cpp @@ -0,0 +1,18 @@ +#include "ui_uiC.h" +#include "ui_uiD.h" +// AUTOUIC includes on the first two lines of a source file +#include "UicOnly.hpp" + +UicOnly::UicOnly() + : uiA(new Ui::UiA) + , uiB(new Ui::UiB) +{ + Ui::UiC uiC; + Ui::UiD uiD; +} + +UicOnly::~UicOnly() +{ + delete uiB; + delete uiA; +} |