summaryrefslogtreecommitdiffstats
path: root/examples/charts/callout/view.h
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 /examples/charts/callout/view.h
parent7a4cd1d34c0861cde1ba49e8aca7d30810e2d812 (diff)
Fix compilation with namespaced Qt.
Change-Id: I359bbf5c89bd23bb1b6db1aeed8a2a4aa2ca12bf Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
Diffstat (limited to 'examples/charts/callout/view.h')
-rw-r--r--examples/charts/callout/view.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/charts/callout/view.h b/examples/charts/callout/view.h
index 22fd2b21..c1a6e0d7 100644
--- a/examples/charts/callout/view.h
+++ b/examples/charts/callout/view.h
@@ -21,14 +21,17 @@
#include <QtWidgets/QGraphicsView>
#include <QtCharts/QChartGlobal>
+QT_BEGIN_NAMESPACE
+class QGraphicsScene;
+class QMouseEvent;
+class QResizeEvent;
+QT_END_NAMESPACE
+
QT_CHARTS_BEGIN_NAMESPACE
class QChart;
QT_CHARTS_END_NAMESPACE
-class QGraphicsScene;
-class QResizeEvent;
class Callout;
-class QMouseEvent;
QT_CHARTS_USE_NAMESPACE