summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/7_selections/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/7_selections/mainwindow.h')
-rwxr-xr-xexamples/tutorials/modelview/7_selections/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/7_selections/mainwindow.h b/examples/tutorials/modelview/7_selections/mainwindow.h
index f2defb5..0d2dd0e 100755
--- a/examples/tutorials/modelview/7_selections/mainwindow.h
+++ b/examples/tutorials/modelview/7_selections/mainwindow.h
@@ -43,9 +43,11 @@
#include <QtGui/QMainWindow>
-class QTreeView; //forward declaration
+QT_BEGIN_NAMESPACE // QT_BEGIN_NAMESPACE / QT_END_NAMESPACE are not needed in Qt user code
+class QTreeView; //forward declarations
class QStandardItemModel;
class QItemSelection;
+QT_END_NAMESPACE
class MainWindow : public QMainWindow