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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.h b/examples/tutorials/modelview/3_changingmodel/mymodel.h
index 47b026e..87c3dba 100755
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.h
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.h
@@ -42,8 +42,7 @@
#define MYMODEL_H
#include <QAbstractTableModel>
-
-class QTimer; // forward declaration
+#include <QTimer>
class MyModel : public QAbstractTableModel
{