summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/UicOnly/UicOnly.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-01-18 10:13:41 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-01-19 18:21:12 (GMT)
commitb4e6911bf51c05001c1b3cbcc04587afa6ba4577 (patch)
tree6a85660e7fc6e991beb58ce4fd288289a0f2d70e /Tests/QtAutogen/UicOnly/UicOnly.cpp
parentff91a5d54b5458eaebab6be814624925a02eccd7 (diff)
downloadCMake-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.cpp18
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;
+}