summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenelinearindex_p.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-07-20 09:57:55 (GMT)
committerhjk <qtc-committer@nokia.com>2009-07-20 09:57:55 (GMT)
commit9582eefb6004207028d3d50dbeffa2279aa55bbd (patch)
tree6bbb7cfa9a7276f7b9e594715858922df10a0adf /src/gui/graphicsview/qgraphicsscenelinearindex_p.h
parentb2a9bdc7a72253ecba77b1a53c9a2497cfd21b7e (diff)
downloadQt-9582eefb6004207028d3d50dbeffa2279aa55bbd.zip
Qt-9582eefb6004207028d3d50dbeffa2279aa55bbd.tar.gz
Qt-9582eefb6004207028d3d50dbeffa2279aa55bbd.tar.bz2
Compile fix with namepaces
Some QT_{BEGIN,END}_HEADER macros had been missing or misplaced. Reviewed-by: thiago
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenelinearindex_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscenelinearindex_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenelinearindex_p.h b/src/gui/graphicsview/qgraphicsscenelinearindex_p.h
index 3dbbc63..1f3d58b 100644
--- a/src/gui/graphicsview/qgraphicsscenelinearindex_p.h
+++ b/src/gui/graphicsview/qgraphicsscenelinearindex_p.h
@@ -53,13 +53,7 @@
// We mean it.
//
-#include <QtCore/qlist.h>
-
-QT_BEGIN_HEADER
-
-QT_BEGIN_NAMESPACE
-
-QT_MODULE(Gui)
+#include <QtCore/qglobal.h>
#if !defined(QT_NO_GRAPHICSVIEW) || (QT_EDITION & QT_MODULE_GRAPHICSVIEW) != QT_MODULE_GRAPHICSVIEW
@@ -68,6 +62,12 @@ QT_MODULE(Gui)
#include <QtGui/qgraphicsitem.h>
#include <private/qgraphicssceneindex_p.h>
+QT_BEGIN_HEADER
+
+QT_BEGIN_NAMESPACE
+
+QT_MODULE(Gui)
+
class Q_AUTOTEST_EXPORT QGraphicsSceneLinearIndex : public QGraphicsSceneIndex
{
Q_OBJECT