summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/rewriter/textwriter_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/rewriter/textwriter_p.h')
-rw-r--r--src/declarative/qml/rewriter/textwriter_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/qml/rewriter/textwriter_p.h b/src/declarative/qml/rewriter/textwriter_p.h
index 3041e04..6ab7323 100644
--- a/src/declarative/qml/rewriter/textwriter_p.h
+++ b/src/declarative/qml/rewriter/textwriter_p.h
@@ -46,8 +46,10 @@
#include <QtCore/QList>
#include <QtGui/QTextCursor>
+#include "qml/parser/qmljsglobal_p.h"
+
QT_BEGIN_HEADER
-QT_BEGIN_NAMESPACE
+QT_QML_BEGIN_NAMESPACE
namespace QmlJS {
@@ -93,7 +95,7 @@ public:
} // end of namespace QmlJS
-QT_END_NAMESPACE
+QT_QML_END_NAMESPACE
QT_END_HEADER
#endif // TEXTWRITER_H