summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/mymodel.cpp2
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/mymodel.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
index 42915b0..d82f00d 100755
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
@@ -38,8 +38,6 @@
**
****************************************************************************/
-#include <QTimer>
-#include <QTime>
#include <QBrush>
#include "mymodel.h"
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.h b/examples/tutorials/modelview/3_changingmodel/mymodel.h
index 47b026e..29e28c8 100755
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.h
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.h
@@ -42,8 +42,8 @@
#define MYMODEL_H
#include <QAbstractTableModel>
+#include <QTimer>
-class QTimer; // forward declaration
class MyModel : public QAbstractTableModel
{