summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/multiplewidgets.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-09-16 23:23:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-09-18 07:41:16 (GMT)
commite3c97a1914aa0a521b55b53ab1b0d71732c5e466 (patch)
tree2bf4429537174c4457b7ba9b6cc431f3a7013c88 /Tests/QtAutogen/multiplewidgets.h
parentb8877b1d62599bba7a014e95fbbd670f177243ce (diff)
downloadCMake-e3c97a1914aa0a521b55b53ab1b0d71732c5e466.zip
CMake-e3c97a1914aa0a521b55b53ab1b0d71732c5e466.tar.gz
CMake-e3c97a1914aa0a521b55b53ab1b0d71732c5e466.tar.bz2
QtAutogen: Process all ui files in a source file (#14981).
Use a vector to store a list of matched ui_ includes, instead of overwriting the previous match.
Diffstat (limited to 'Tests/QtAutogen/multiplewidgets.h')
-rw-r--r--Tests/QtAutogen/multiplewidgets.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/Tests/QtAutogen/multiplewidgets.h b/Tests/QtAutogen/multiplewidgets.h
new file mode 100644
index 0000000..6ae6ad1
--- /dev/null
+++ b/Tests/QtAutogen/multiplewidgets.h
@@ -0,0 +1,33 @@
+
+#ifndef MULTIPLEWIDGETS_H
+#define MULTIPLEWIDGETS_H
+
+#include <QWidget>
+
+namespace Ui {
+class Widget1;
+}
+
+class Widget1 : public QWidget
+{
+ Q_OBJECT
+public:
+ Widget1(QWidget *parent = 0);
+private:
+ Ui::Widget1 *ui;
+};
+
+namespace Ui {
+class Widget2;
+}
+
+class Widget2 : public QWidget
+{
+ Q_OBJECT
+public:
+ Widget2(QWidget *parent = 0);
+private:
+ Ui::Widget2 *ui;
+};
+
+#endif