summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/itemviews/qtableview
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-01-03 10:23:56 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-04 18:44:31 +0100
commitba82958af97b831875ea568f87ec49d8fad32297 (patch)
tree229256ef87c854fe59803ab56db0289b39360b57 /tests/auto/widgets/itemviews/qtableview
parentfbd3cd867952a43d008dcfe6ae5657387603283a (diff)
Widgets: 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: Ibe8e2ec867afb4051a3c7eef806d9cd86945928b Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/widgets/itemviews/qtableview')
-rw-r--r--tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp b/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp
index 9038ae3b00..74511fc87d 100644
--- a/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp
+++ b/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp
@@ -54,10 +54,8 @@
#endif
typedef QList<int> IntList;
-Q_DECLARE_METATYPE(IntList)
typedef QList<bool> BoolList;
-Q_DECLARE_METATYPE(BoolList)
class tst_QTableView : public QObject
{
@@ -787,7 +785,6 @@ void tst_QTableView::headerSections()
}
typedef QPair<int,int> IntPair;
-Q_DECLARE_METATYPE(IntPair)
void tst_QTableView::moveCursor_data()
{
@@ -1849,7 +1846,6 @@ void tst_QTableView::selectColumn()
QCOMPARE(view.selectionModel()->selectedIndexes().at(i).column(), column);
}
-Q_DECLARE_METATYPE(QRect)
void tst_QTableView::visualRect_data()
{
QTest::addColumn<int>("rowCount");
@@ -2925,7 +2921,6 @@ void tst_QTableView::span()
}
typedef QVector<QRect> SpanList;
-Q_DECLARE_METATYPE(SpanList)
void tst_QTableView::spans_data()
{