summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qml.h4
-rw-r--r--src/declarative/qml/qmlsqldatabase_p.h3
-rw-r--r--src/declarative/qml/qmlxmlhttprequest_p.h3
3 files changed, 9 insertions, 1 deletions
diff --git a/src/declarative/qml/qml.h b/src/declarative/qml/qml.h
index c009093..f2b6b08 100644
--- a/src/declarative/qml/qml.h
+++ b/src/declarative/qml/qml.h
@@ -77,6 +77,7 @@ enum { /* TYPEINFO flags */
};
#define QML_DECLARE_TYPEINFO(TYPE, FLAGS) \
+QT_BEGIN_NAMESPACE \
template <> \
class QmlTypeInfo<TYPE > \
{ \
@@ -84,7 +85,8 @@ public: \
enum { \
hasAttachedProperties = (((FLAGS) & QML_HAS_ATTACHED_PROPERTIES) == QML_HAS_ATTACHED_PROPERTIES) \
}; \
-};
+}; \
+QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
diff --git a/src/declarative/qml/qmlsqldatabase_p.h b/src/declarative/qml/qmlsqldatabase_p.h
index 9965a2b..f7d2078 100644
--- a/src/declarative/qml/qmlsqldatabase_p.h
+++ b/src/declarative/qml/qmlsqldatabase_p.h
@@ -53,6 +53,9 @@
//
// We mean it.
//
+
+#include <QtCore/qglobal.h>
+
QT_BEGIN_NAMESPACE
class QScriptEngine;
diff --git a/src/declarative/qml/qmlxmlhttprequest_p.h b/src/declarative/qml/qmlxmlhttprequest_p.h
index 3a81278..11ed027 100644
--- a/src/declarative/qml/qmlxmlhttprequest_p.h
+++ b/src/declarative/qml/qmlxmlhttprequest_p.h
@@ -53,6 +53,9 @@
//
// We mean it.
//
+
+#include <QtCore/qglobal.h>
+
QT_BEGIN_NAMESPACE
class QScriptEngine;