From a87f7e4240c55b3f6449d0735ba9e6733aac1a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 19 Dec 2012 14:57:28 +0100 Subject: [PATCH] Thou shall not use "using namespace" in a header file --- declarativeimports/core/dataenginebindings_p.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)