diff options
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 { |