diff --git a/declarativeimports/core/dataenginebindings_p.h b/declarativeimports/core/dataenginebindings_p.h index 17193c1ee..415941084 100644 --- a/declarativeimports/core/dataenginebindings_p.h +++ b/declarativeimports/core/dataenginebindings_p.h @@ -28,10 +28,8 @@ #include #include -using namespace Plasma; - -Q_DECLARE_METATYPE(DataEngine::Dict) -Q_DECLARE_METATYPE(DataEngine::Data) +Q_DECLARE_METATYPE(Plasma::DataEngine::Dict) +Q_DECLARE_METATYPE(Plasma::DataEngine::Data) template QScriptValue qScriptValueFromMap(QScriptEngine *eng, const M &map)