summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Wolf <ext-roland.wolf@nokia.com>2010-09-06 10:30:07 (GMT)
committerRoland Wolf <ext-roland.wolf@nokia.com>2010-09-06 10:30:07 (GMT)
commite98161b0062169b533eb2e11567ba28165a1141c (patch)
treeefa3cf0ce6d8fb2ade54fe540260e67d5dc85119
parent03b787cdadb966898c86a06747deb39e2f7dae2f (diff)
downloadQt-e98161b0062169b533eb2e11567ba28165a1141c.zip
Qt-e98161b0062169b533eb2e11567ba28165a1141c.tar.gz
Qt-e98161b0062169b533eb2e11567ba28165a1141c.tar.bz2
compilation with namespaces was broken. fixed
-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
{