tests/auto/qlocalsocket/lackey/main.cpp
branchRCL_3
changeset 7 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/tests/auto/qlocalsocket/lackey/main.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/tests/auto/qlocalsocket/lackey/main.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -172,8 +172,10 @@
     return qScriptRegisterMetaType<T*>(engine, _q_ScriptValueFromQObject<T>, _q_ScriptValueToQObject<T>, prototype);
 }
 
+QT_BEGIN_NAMESPACE
 Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalSocket, QObject*);
 Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalServer, QObject*);
+QT_END_NAMESPACE
 
 static void interactive(QScriptEngine &eng)
 {