diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-01 09:47:18 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-01 09:51:46 (GMT) |
commit | 72d7a8e5d7cc5cf498078648f01a20869245d75e (patch) | |
tree | 547a5050441b5cad41a83edb2951300243d77e78 | |
parent | ab45aa26a040bdf84dc923792f5f384dd51f906d (diff) | |
download | Qt-72d7a8e5d7cc5cf498078648f01a20869245d75e.zip Qt-72d7a8e5d7cc5cf498078648f01a20869245d75e.tar.gz Qt-72d7a8e5d7cc5cf498078648f01a20869245d75e.tar.bz2 |
Fix compilation of QAbstractItemModel test
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= |