summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-01 09:47:18 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-01 09:51:46 (GMT)
commit72d7a8e5d7cc5cf498078648f01a20869245d75e (patch)
tree547a5050441b5cad41a83edb2951300243d77e78 /tests
parentab45aa26a040bdf84dc923792f5f384dd51f906d (diff)
downloadQt-72d7a8e5d7cc5cf498078648f01a20869245d75e.zip
Qt-72d7a8e5d7cc5cf498078648f01a20869245d75e.tar.gz
Qt-72d7a8e5d7cc5cf498078648f01a20869245d75e.tar.bz2
Fix compilation of QAbstractItemModel test
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qabstractitemmodel/dynamictreemodel.cpp9
-rw-r--r--tests/auto/qabstractitemmodel/dynamictreemodel.h9
-rw-r--r--tests/auto/qabstractitemmodel/qabstractitemmodel.pro2
-rw-r--r--tests/auto/qabstractitemmodel/tst_qabstractitemmodel.cpp2
4 files changed, 8 insertions, 14 deletions
diff --git a/tests/auto/qabstractitemmodel/dynamictreemodel.cpp b/tests/auto/qabstractitemmodel/dynamictreemodel.cpp
index 6425dcd..dd0615d 100644
--- a/tests/auto/qabstractitemmodel/dynamictreemodel.cpp
+++ b/tests/auto/qabstractitemmodel/dynamictreemodel.cpp
@@ -41,13 +41,10 @@
#include "dynamictreemodel.h"
-#include <QHash>
-#include <QList>
-#include <QTimer>
+#include <QtCore/QHash>
+#include <QtCore/QList>
+#include <QtCore/QTimer>
-#include <QDebug>
-
-#include <kdebug.h>
DynamicTreeModel::DynamicTreeModel(QObject *parent)
: QAbstractItemModel(parent),
diff --git a/tests/auto/qabstractitemmodel/dynamictreemodel.h b/tests/auto/qabstractitemmodel/dynamictreemodel.h
index d84bf68..a769c38 100644
--- a/tests/auto/qabstractitemmodel/dynamictreemodel.h
+++ b/tests/auto/qabstractitemmodel/dynamictreemodel.h
@@ -42,14 +42,11 @@
#ifndef DYNAMICTREEMODEL_H
#define DYNAMICTREEMODEL_H
-#include <QAbstractItemModel>
+#include <QtCore/QAbstractItemModel>
-#include <QHash>
-#include <QList>
+#include <QtCore/QHash>
+#include <QtCore/QList>
-#include <QDebug>
-
-#include <kdebug.h>
template<typename T> class QList;
diff --git a/tests/auto/qabstractitemmodel/qabstractitemmodel.pro b/tests/auto/qabstractitemmodel/qabstractitemmodel.pro
index 84ed5a2..a31868b 100644
--- a/tests/auto/qabstractitemmodel/qabstractitemmodel.pro
+++ b/tests/auto/qabstractitemmodel/qabstractitemmodel.pro
@@ -2,5 +2,5 @@ load(qttest_p4)
SOURCES += tst_qabstractitemmodel.cpp dynamictreemodel.cpp
HEADERS += dynamictreemodel.h
-QT = core
+
diff --git a/tests/auto/qabstractitemmodel/tst_qabstractitemmodel.cpp b/tests/auto/qabstractitemmodel/tst_qabstractitemmodel.cpp
index da65e7d..58832c7 100644
--- a/tests/auto/qabstractitemmodel/tst_qabstractitemmodel.cpp
+++ b/tests/auto/qabstractitemmodel/tst_qabstractitemmodel.cpp
@@ -43,7 +43,7 @@
#include <QtTest/QtTest>
#include <QtCore/QtCore>
-#include <QSortFilterProxyModel>
+#include <QtGui/QSortFilterProxyModel>
//TESTED_CLASS=QAbstractListModel QAbstractTableModel
//TESTED_FILES=