summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/3_changingmodel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/3_changingmodel')
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/modelview.h2
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/mymodel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/3_changingmodel/modelview.h b/examples/tutorials/modelview/3_changingmodel/modelview.h
index 7291487..b2943ac 100755
--- a/examples/tutorials/modelview/3_changingmodel/modelview.h
+++ b/examples/tutorials/modelview/3_changingmodel/modelview.h
@@ -43,7 +43,7 @@
#include <QtGui/QMainWindow>
-class QTableView; //forward declaration
+QT_FORWARD_DECLARE_CLASS(QTableView)
class ModelView : public QMainWindow
{
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.h b/examples/tutorials/modelview/3_changingmodel/mymodel.h
index 47b026e..01ad88d 100755
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.h
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.h
@@ -43,7 +43,7 @@
#include <QAbstractTableModel>
-class QTimer; // forward declaration
+QT_FORWARD_DECLARE_CLASS(QTimer)
class MyModel : public QAbstractTableModel
{