diff --git a/src/plasma/containmentactions.h b/src/plasma/containmentactions.h index 6651c5019..53aba6387 100644 --- a/src/plasma/containmentactions.h +++ b/src/plasma/containmentactions.h @@ -172,6 +172,4 @@ private: K_PLUGIN_FACTORY_WITH_JSON(factory, jsonFile, registerPlugin();) \ K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION) -Q_DECLARE_METATYPE(Plasma::ContainmentActions *) - #endif // PLASMA_CONTAINMENTACTIONS_H diff --git a/src/plasma/dataengine.h b/src/plasma/dataengine.h index c6961f854..41dfe449e 100644 --- a/src/plasma/dataengine.h +++ b/src/plasma/dataengine.h @@ -487,6 +487,4 @@ private: K_PLUGIN_FACTORY_WITH_JSON(factory, jsonFile, registerPlugin();) \ K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION) -Q_DECLARE_METATYPE(Plasma::DataEngine *) - #endif // multiple inclusion guard diff --git a/src/plasma/private/storage_p.h b/src/plasma/private/storage_p.h index da1efa177..2fa408efb 100644 --- a/src/plasma/private/storage_p.h +++ b/src/plasma/private/storage_p.h @@ -54,9 +54,6 @@ private: }; //End StorageJob -Q_DECLARE_METATYPE(StorageJob *) -Q_DECLARE_METATYPE(QPointer) - class Storage : public Plasma::Service { Q_OBJECT diff --git a/src/plasma/service.h b/src/plasma/service.h index 168d8d791..e39706802 100644 --- a/src/plasma/service.h +++ b/src/plasma/service.h @@ -223,8 +223,6 @@ private: } // namespace Plasma -Q_DECLARE_METATYPE(Plasma::Service *) - /** * Register a service when it is contained in a loadable module */ diff --git a/src/plasma/servicejob.h b/src/plasma/servicejob.h index 6cb57af67..0ba5d130e 100644 --- a/src/plasma/servicejob.h +++ b/src/plasma/servicejob.h @@ -122,7 +122,5 @@ private: } // namespace Plasma -Q_DECLARE_METATYPE(Plasma::ServiceJob *) - #endif // multiple inclusion guard diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index d51955e44..c348594c8 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -44,8 +44,6 @@ #include #include -Q_DECLARE_METATYPE(AppletInterface *) - AppletInterface::AppletInterface(DeclarativeAppletScript *script, const QVariantList &args, QQuickItem *parent) : AppletQuickItem(script->applet(), parent), m_configuration(nullptr),