diff --git a/src/plugins/cppeditor/cppincludehierarchy_test.cpp b/src/plugins/cppeditor/cppincludehierarchy_test.cpp index ffef3a8b35ec696a2aee736bb5ba5ed0e6d25345..8bb29f4123ef5a87a3ec22d593c71e8c745a373b 100644 --- a/src/plugins/cppeditor/cppincludehierarchy_test.cpp +++ b/src/plugins/cppeditor/cppincludehierarchy_test.cpp @@ -35,8 +35,6 @@ #include <QList> #include <QtTest> -Q_DECLARE_METATYPE(QList<QByteArray>) - using namespace CPlusPlus; using namespace CppTools; diff --git a/src/plugins/cppeditor/cppquickfix_test.cpp b/src/plugins/cppeditor/cppquickfix_test.cpp index b592d9f9da86162ef5de4f14cd9018a30ff838dc..ddd2b5097d4d4e8d4311e26b68ba589315ce86eb 100644 --- a/src/plugins/cppeditor/cppquickfix_test.cpp +++ b/src/plugins/cppeditor/cppquickfix_test.cpp @@ -315,8 +315,6 @@ typedef QSharedPointer<CppQuickFixFactory> CppQuickFixFactoryPtr; } // namespace CppEditor -Q_DECLARE_METATYPE(CppEditor::CppQuickFixFactoryPtr) - namespace CppEditor { namespace Internal { diff --git a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp index c5bbf1f4499c2dfbd8f2eb1e672767160abf5e06..b2e1c982949d8f409ca91392448335b19e2fc77f 100644 --- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp +++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp @@ -89,7 +89,6 @@ public: }; typedef QList<OverrideItem> OverrideItemList; Q_DECLARE_METATYPE(OverrideItem) -Q_DECLARE_METATYPE(OverrideItemList) inline bool operator==(const OverrideItem &lhs, const OverrideItem &rhs) { diff --git a/src/plugins/cpptools/cpplocalsymbols_test.cpp b/src/plugins/cpptools/cpplocalsymbols_test.cpp index 7fb8a921e20a9ad3e7a19fba361b7c47d553a74e..9183c9bfcdd6821ad72bd711407f248fbb6e66ba 100644 --- a/src/plugins/cpptools/cpplocalsymbols_test.cpp +++ b/src/plugins/cpptools/cpplocalsymbols_test.cpp @@ -115,7 +115,6 @@ struct Result } // anonymous namespace Q_DECLARE_METATYPE(Result) -Q_DECLARE_METATYPE(QList<Result>) QT_BEGIN_NAMESPACE namespace QTest { diff --git a/src/plugins/cpptools/cpplocatorfilter_test.cpp b/src/plugins/cpptools/cpplocatorfilter_test.cpp index b9b08f3d54790ae584db87278b1b42a549423b86..27258855d80e558e890c8d0e94a24cab4564b1ab 100644 --- a/src/plugins/cpptools/cpplocatorfilter_test.cpp +++ b/src/plugins/cpptools/cpplocatorfilter_test.cpp @@ -48,8 +48,6 @@ using namespace CppTools::Internal; using namespace ExtensionSystem; using namespace Utils; -Q_DECLARE_METATYPE(ILocatorFilter *) - namespace { enum { debug = 0 }; diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index cdf5922e424e61c6a7a0c43211ddcc37e99395b3..13b582cfed05ea475ba38df52bf38aaa5982b4eb 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -67,8 +67,6 @@ #include <sstream> #endif -Q_DECLARE_METATYPE(QSet<QString>) - static const bool DumpProjectInfo = qgetenv("QTC_DUMP_PROJECT_INFO") == "1"; using namespace CppTools; diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp index 230422163101ec9dc24e827cfb8304dd86ad4bf0..92bbebf91daa6104eeb475034c123710f203a470 100644 --- a/src/plugins/cpptools/cppmodelmanager_test.cpp +++ b/src/plugins/cpptools/cppmodelmanager_test.cpp @@ -57,7 +57,7 @@ using namespace ProjectExplorer; typedef CPlusPlus::Document Document; -Q_DECLARE_METATYPE(QVector<ProjectFile>) +Q_DECLARE_METATYPE(ProjectFile) namespace { diff --git a/src/plugins/cpptools/functionutils.cpp b/src/plugins/cpptools/functionutils.cpp index dd26c80f25dbdc508f82ac308586dbd444326ca4..b8224923a068381f87a7cd495901eaeecc368234 100644 --- a/src/plugins/cpptools/functionutils.cpp +++ b/src/plugins/cpptools/functionutils.cpp @@ -175,8 +175,6 @@ typedef QList<Virtuality> VirtualityList; } // CppTools namespace Q_DECLARE_METATYPE(CppTools::Internal::Virtuality) -Q_DECLARE_METATYPE(CppTools::Internal::VirtualityList) -Q_DECLARE_METATYPE(QList<int>) namespace CppTools { namespace Internal { diff --git a/src/plugins/cpptools/modelmanagertesthelper.cpp b/src/plugins/cpptools/modelmanagertesthelper.cpp index 38573fcf07e7c0f8cf8ec033efe2dc72187322c1..f347cd81af4948fc678c937ecd19d16a49ea6d01 100644 --- a/src/plugins/cpptools/modelmanagertesthelper.cpp +++ b/src/plugins/cpptools/modelmanagertesthelper.cpp @@ -33,8 +33,6 @@ #include <cassert> -Q_DECLARE_METATYPE(QSet<QString>) - using namespace CppTools::Internal; using namespace CppTools::Tests; diff --git a/src/plugins/cpptools/symbolsearcher_test.cpp b/src/plugins/cpptools/symbolsearcher_test.cpp index 1eae1a9b9a7445c80d41c8475c83715c04173aa9..dc71fa1562c8d8038182c1d1ccb1b8fc8d222782 100644 --- a/src/plugins/cpptools/symbolsearcher_test.cpp +++ b/src/plugins/cpptools/symbolsearcher_test.cpp @@ -126,7 +126,6 @@ private: } // anonymous namespace Q_DECLARE_METATYPE(ResultData) -Q_DECLARE_METATYPE(ResultDataList) QT_BEGIN_NAMESPACE namespace QTest {