summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/1_readonly/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/1_readonly/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/1_readonly/modelview.h')
-rwxr-xr-xexamples/tutorials/modelview/1_readonly/modelview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/1_readonly/modelview.h b/examples/tutorials/modelview/1_readonly/modelview.h
index 9307083..cc14d90 100755
--- a/examples/tutorials/modelview/1_readonly/modelview.h
+++ b/examples/tutorials/modelview/1_readonly/modelview.h
@@ -45,7 +45,7 @@
// modelview.h
#include <QtGui/QMainWindow>
-class QTableView; //forward declaration
+QT_FORWARD_DECLARE_CLASS(QTableView)
class ModelView : public QMainWindow
{