summaryrefslogtreecommitdiffstats
path: root/tests/auto/dbus/qdbusmetaobject
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-01-03 10:41:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-04 13:20:06 +0100
commitad330f327e68fb42b3013b72a2b64588d2ce01fe (patch)
treecab31878ad0de229bbbda1e3708eb23ace6efdd1 /tests/auto/dbus/qdbusmetaobject
parentbd04a3d136ed3384aa754f288201b5675a912596 (diff)
DBus: 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. In some cases, the type is required to be registered with the typedef name, so those Q_DECLARE_METATYPE uses remain for now. In a future patch we can also remove those and the typedefs themselves. Change-Id: I5721955c86f566ae09024203954840f817bd3088 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'tests/auto/dbus/qdbusmetaobject')
-rw-r--r--tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp b/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp
index 5773ba66dd..a3acc3ad54 100644
--- a/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp
+++ b/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp
@@ -83,9 +83,6 @@ Q_DECLARE_METATYPE(Struct1)
Q_DECLARE_METATYPE(Struct4)
Q_DECLARE_METATYPE(StringPair)
-Q_DECLARE_METATYPE(QList<Struct1>)
-Q_DECLARE_METATYPE(QList<Struct4>)
-
Q_DECLARE_METATYPE(const QMetaObject*)
QT_BEGIN_NAMESPACE