summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptobject.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-24 14:57:01 (GMT)
committerhjk <qtc-committer@nokia.com>2009-08-24 14:58:07 (GMT)
commit09eacce5aaf6ef2612ebe9c239527f46a67b9995 (patch)
tree65f9999a9c4fca2d1bccbaa31c6798417e6434be /src/script/bridge/qscriptobject.cpp
parent4a64bbc856e8bed831d1e0accff0aa722f5c64c8 (diff)
downloadQt-09eacce5aaf6ef2612ebe9c239527f46a67b9995.zip
Qt-09eacce5aaf6ef2612ebe9c239527f46a67b9995.tar.gz
Qt-09eacce5aaf6ef2612ebe9c239527f46a67b9995.tar.bz2
compile fix with namespaced Qt
Diffstat (limited to 'src/script/bridge/qscriptobject.cpp')
-rw-r--r--src/script/bridge/qscriptobject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/script/bridge/qscriptobject.cpp b/src/script/bridge/qscriptobject.cpp
index 0bf0b0b..2022baf 100644
--- a/src/script/bridge/qscriptobject.cpp
+++ b/src/script/bridge/qscriptobject.cpp
@@ -43,14 +43,15 @@
#include "qscriptobject_p.h"
#include "private/qobject_p.h"
-QT_BEGIN_NAMESPACE
-
namespace JSC
{
+//QT_USE_NAMESPACE
ASSERT_CLASS_FITS_IN_CELL(QScriptObject);
ASSERT_CLASS_FITS_IN_CELL(QScriptObjectPrototype);
}
+QT_BEGIN_NAMESPACE
+
// masquerading as JSC::JSObject
const JSC::ClassInfo QScriptObject::info = { "Object", 0, 0, 0 };