summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/3_changingmodel/mymodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/3_changingmodel/mymodel.h')
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/mymodel.h2
1 files changed, 1 insertions, 1 deletions
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
{