summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/rewriter/textwriter.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-09-17 11:04:54 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-09-17 11:04:54 (GMT)
commit5ffcc17140bfb65c1a8ce81c08c60ee882d9bcbf (patch)
treec59cb58160657dbccc7fda56a704881f81ae5255 /src/declarative/qml/rewriter/textwriter.cpp
parent875c342b9f861c914e399f01142d70d65a6b39af (diff)
downloadQt-5ffcc17140bfb65c1a8ce81c08c60ee882d9bcbf.zip
Qt-5ffcc17140bfb65c1a8ce81c08c60ee882d9bcbf.tar.gz
Qt-5ffcc17140bfb65c1a8ce81c08c60ee882d9bcbf.tar.bz2
Fixed the QML parser files to play nice when included in Creator,
when Creator is compiled against Qt with namespaces.
Diffstat (limited to 'src/declarative/qml/rewriter/textwriter.cpp')
-rw-r--r--src/declarative/qml/rewriter/textwriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/rewriter/textwriter.cpp b/src/declarative/qml/rewriter/textwriter.cpp
index fbbdb2bbab..1ec0675 100644
--- a/src/declarative/qml/rewriter/textwriter.cpp
+++ b/src/declarative/qml/rewriter/textwriter.cpp
@@ -41,7 +41,7 @@
#include "textwriter_p.h"
-QT_BEGIN_NAMESPACE
+QT_QML_BEGIN_NAMESPACE
using namespace QmlJS;
@@ -214,4 +214,4 @@ void TextWriter::write_helper()
cursor->endEditBlock();
}
-QT_END_NAMESPACE
+QT_QML_END_NAMESPACE