summaryrefslogtreecommitdiffstats
path: root/tests/manual/boxplottester
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-03-11 11:44:28 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-04-01 11:31:55 +0300
commit7b74d88b3f3df27d3f74e88e2ceed75b65bce2e5 (patch)
treeff045779a4a4ef4f9a94170e2140b581ae6181e5 /tests/manual/boxplottester
parent7a4cd1d34c0861cde1ba49e8aca7d30810e2d812 (diff)
Fix compilation with namespaced Qt.
Change-Id: I359bbf5c89bd23bb1b6db1aeed8a2a4aa2ca12bf Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
Diffstat (limited to 'tests/manual/boxplottester')
-rw-r--r--tests/manual/boxplottester/mainwidget.h3
-rw-r--r--tests/manual/boxplottester/pentool.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/manual/boxplottester/mainwidget.h b/tests/manual/boxplottester/mainwidget.h
index 5e656425..b4b4c428 100644
--- a/tests/manual/boxplottester/mainwidget.h
+++ b/tests/manual/boxplottester/mainwidget.h
@@ -29,7 +29,10 @@
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDoubleSpinBox>
+QT_BEGIN_NAMESPACE
class QGridLayout;
+QT_END_NAMESPACE
+
class CustomTableModel;
class PenTool;
diff --git a/tests/manual/boxplottester/pentool.h b/tests/manual/boxplottester/pentool.h
index 009c58d9..62776bca 100644
--- a/tests/manual/boxplottester/pentool.h
+++ b/tests/manual/boxplottester/pentool.h
@@ -21,9 +21,11 @@
#include <QtWidgets/QWidget>
#include <QtGui/QPen>
+QT_BEGIN_NAMESPACE
class QPushButton;
class QDoubleSpinBox;
class QComboBox;
+QT_END_NAMESPACE
class PenTool : public QWidget
{