summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRoland Wolf <ext-roland.wolf@nokia.com>2010-09-06 12:30:07 +0200
committerRoland Wolf <ext-roland.wolf@nokia.com>2010-09-06 12:30:07 +0200
commite98161b0062169b533eb2e11567ba28165a1141c (patch)
treeefa3cf0ce6d8fb2ade54fe540260e67d5dc85119 /examples
parent03b787cdadb966898c86a06747deb39e2f7dae2f (diff)
downloadqt4-tools-e98161b0062169b533eb2e11567ba28165a1141c.tar.gz
compilation with namespaces was broken. fixed
Diffstat (limited to 'examples')
-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 42915b09f1..d82f00d795 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 47b026efe1..29e28c8efa 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
{