summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-01-03 10:30:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-04 18:39:08 +0100
commitcc69dff01ba8817fd12155cbb26e0cf27faae3e8 (patch)
treedb930b4e7f610e22c76f7424004198d327a8e65e /tests/auto/gui/text
parent79f1afc23caf4c6c8bbf4141ba023208c10bb557 (diff)
Gui: 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: I95b8b4b674e85b2b3c374931f6231d60f35be984 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/gui/text')
-rw-r--r--tests/auto/gui/text/qcssparser/tst_qcssparser.cpp3
-rw-r--r--tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp1
-rw-r--r--tests/auto/gui/text/qtexttable/tst_qtexttable.cpp1
3 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp b/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
index 0e2378fd4c..7e2aa77456 100644
--- a/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
+++ b/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
@@ -383,8 +383,6 @@ void tst_QCssParser::term()
}
}
-Q_DECLARE_METATYPE(QVector<QCss::Value>)
-
void tst_QCssParser::expr_data()
{
QTest::addColumn<bool>("parseSuccess");
@@ -842,7 +840,6 @@ void tst_QCssParser::invalidAtKeywords()
QCOMPARE(rule.declarations.at(0).d->values.at(0).variant.toString(), QString("blue"));
}
-Q_DECLARE_METATYPE(QColor)
void tst_QCssParser::colorValue_data()
{
diff --git a/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp b/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
index 50fb558d94..4105c2ad54 100644
--- a/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
+++ b/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp
@@ -162,7 +162,6 @@ private:
QTextCursor cursor;
};
-Q_DECLARE_METATYPE(QList<QVariant>)
tst_QTextCursor::tst_QTextCursor()
{}
diff --git a/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp b/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
index 4d27c406f2..4303d0fb4d 100644
--- a/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
+++ b/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
@@ -54,7 +54,6 @@
#endif
typedef QList<int> IntList;
-Q_DECLARE_METATYPE(IntList)
QT_FORWARD_DECLARE_CLASS(QTextDocument)