diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-01-03 10:31:37 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-04 18:39:05 +0100 |
commit | 79f1afc23caf4c6c8bbf4141ba023208c10bb557 (patch) | |
tree | 8043bced0d05c25ac9b17841f23d4de8b5d0a3a2 /tests/auto/corelib/itemmodels | |
parent | fc032aa713d772f2be385b746f3f15c4d9334c9d (diff) |
Core: Remove declaration of built-in and automatic metatypes.
These types are either built-in or 'automatically declared' and so
don't need to be explicitly declared as metatypes.
Change-Id: I54523eb854619917123d8816d3cd6c3a1f5b4c55
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/corelib/itemmodels')
3 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/corelib/itemmodels/qabstractproxymodel/tst_qabstractproxymodel.cpp b/tests/auto/corelib/itemmodels/qabstractproxymodel/tst_qabstractproxymodel.cpp index bd4ed633cb..30beffe467 100644 --- a/tests/auto/corelib/itemmodels/qabstractproxymodel/tst_qabstractproxymodel.cpp +++ b/tests/auto/corelib/itemmodels/qabstractproxymodel/tst_qabstractproxymodel.cpp @@ -123,8 +123,6 @@ void tst_QAbstractProxyModel::qabstractproxymodel() model.submit(); } -Q_DECLARE_METATYPE(QVariant) -Q_DECLARE_METATYPE(QModelIndex) void tst_QAbstractProxyModel::data_data() { QTest::addColumn<QModelIndex>("proxyIndex"); diff --git a/tests/auto/corelib/itemmodels/qitemselectionmodel/tst_qitemselectionmodel.cpp b/tests/auto/corelib/itemmodels/qitemselectionmodel/tst_qitemselectionmodel.cpp index a58a0ad945..b906afce23 100644 --- a/tests/auto/corelib/itemmodels/qitemselectionmodel/tst_qitemselectionmodel.cpp +++ b/tests/auto/corelib/itemmodels/qitemselectionmodel/tst_qitemselectionmodel.cpp @@ -114,10 +114,6 @@ typedef QList<int> IntList; typedef QPair<int, int> IntPair; typedef QList<IntPair> PairList; -Q_DECLARE_METATYPE(PairList) -Q_DECLARE_METATYPE(QModelIndex) -Q_DECLARE_METATYPE(QModelIndexList) -Q_DECLARE_METATYPE(IntList) Q_DECLARE_METATYPE(QItemSelection) class QStreamHelper: public QAbstractItemModel @@ -1683,9 +1679,6 @@ void tst_QItemSelectionModel::removeColumns() typedef QList<IntList> IntListList; typedef QPair<IntPair, IntPair> IntPairPair; typedef QList<IntPairPair> IntPairPairList; -Q_DECLARE_METATYPE(IntListList) -Q_DECLARE_METATYPE(IntPairPair) -Q_DECLARE_METATYPE(IntPairPairList) void tst_QItemSelectionModel::modelLayoutChanged_data() { diff --git a/tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp b/tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp index 9660c28f03..576ef7747c 100644 --- a/tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp +++ b/tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp @@ -54,11 +54,6 @@ typedef QList<int> IntList; typedef QPair<int, int> IntPair; typedef QList<IntPair> IntPairList; -Q_DECLARE_METATYPE(IntList) -Q_DECLARE_METATYPE(IntPair) -Q_DECLARE_METATYPE(IntPairList) -Q_DECLARE_METATYPE(QModelIndex) - class tst_QSortFilterProxyModel : public QObject { Q_OBJECT |