Thou shall not use "using namespace" in a header file

This commit is contained in:
Aurélien Gâteau 2012-12-19 14:57:28 +01:00
parent ee41951641
commit a87f7e4240

View File

@ -28,10 +28,8 @@
#include <plasma/service.h>
#include <plasma/servicejob.h>
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 <class M>
QScriptValue qScriptValueFromMap(QScriptEngine *eng, const M &map)