diff options
author | ck <qt-info@nokia.com> | 2010-07-19 13:11:48 (GMT) |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-07-19 13:11:48 (GMT) |
commit | 0c57f26a32382c7431f0d536508c8e979f7e0313 (patch) | |
tree | 3dad6695451a64667de915b327367717c8715aae /examples/tutorials/modelview/1_readonly/modelview.h | |
parent | 368dd3c234b9011ab8a8506b50fce6f55694199c (diff) | |
download | Qt-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-x | examples/tutorials/modelview/1_readonly/modelview.h | 2 |
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 { |