summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/graphicsview/modelitem.h
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-12-23 13:34:10 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-10 00:41:12 +0100
commit7cd6e7b614ec8415372291f3d86fcbe7296f6d5d (patch)
tree37935e4093cbd66d249426f629bf70cee239e82f /examples/qt3d/graphicsview/modelitem.h
parentd4ea9dcc1e807a7348fff74d84221095e2bf2a87 (diff)
Fix namespace compilation.
Back-ported from Qt5 changes: 24b1b6bd5c6a3960cfdf71cc644d95926430c267 d641f03b6efecce266ef329eb4bbc48d87c2fc12 2734491c7230bfa54af46ef56085a56e61eed8a0 f037bb1fa72b7dee790367776a913b18a07445ac Change-Id: I73e2e8996376ea40b9763224554aafba7fe7bdb6 Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
Diffstat (limited to 'examples/qt3d/graphicsview/modelitem.h')
-rw-r--r--examples/qt3d/graphicsview/modelitem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qt3d/graphicsview/modelitem.h b/examples/qt3d/graphicsview/modelitem.h
index 063cbb2b..7ab55219 100644
--- a/examples/qt3d/graphicsview/modelitem.h
+++ b/examples/qt3d/graphicsview/modelitem.h
@@ -45,7 +45,9 @@
#include "qglbuilder.h"
#include "qray3d.h"
+QT_BEGIN_NAMESPACE
class QGraphicsEmbedScene;
+QT_END_NAMESPACE
class ModelItem : public QObject, public QGLGraphicsViewportItem
{