summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/7_selections/modelview.h
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-07-19 13:11:48 (GMT)
committerck <qt-info@nokia.com>2010-07-19 13:11:48 (GMT)
commit0c57f26a32382c7431f0d536508c8e979f7e0313 (patch)
tree3dad6695451a64667de915b327367717c8715aae /examples/tutorials/modelview/7_selections/modelview.h
parent368dd3c234b9011ab8a8506b50fce6f55694199c (diff)
downloadQt-0c57f26a32382c7431f0d536508c8e979f7e0313.zip
Qt-0c57f26a32382c7431f0d536508c8e979f7e0313.tar.gz
Qt-0c57f26a32382c7431f0d536508c8e979f7e0313.tar.bz2
Examples: Fix compilation with namespace.
Diffstat (limited to 'examples/tutorials/modelview/7_selections/modelview.h')
-rwxr-xr-xexamples/tutorials/modelview/7_selections/modelview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/7_selections/modelview.h b/examples/tutorials/modelview/7_selections/modelview.h
index 5229ac3..d20797e 100755
--- a/examples/tutorials/modelview/7_selections/modelview.h
+++ b/examples/tutorials/modelview/7_selections/modelview.h
@@ -43,10 +43,11 @@
#include <QtGui/QMainWindow>
+QT_BEGIN_NAMESPACE
class QTreeView; //forward declaration
class QStandardItemModel;
class QItemSelection;
-
+QT_END_NAMESPACE
class ModelView : public QMainWindow
{