aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeguard_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativeguard_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeguard_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeguard_p.h b/src/declarative/qml/qdeclarativeguard_p.h
index 393f2b0ee7..0dc9a5a831 100644
--- a/src/declarative/qml/qdeclarativeguard_p.h
+++ b/src/declarative/qml/qdeclarativeguard_p.h
@@ -108,8 +108,12 @@ protected:
virtual void objectDestroyed(T *) {}
};
+QT_END_NAMESPACE
+
Q_DECLARE_METATYPE(QDeclarativeGuard<QObject>)
+QT_BEGIN_NAMESPACE
+
QDeclarativeGuardImpl::QDeclarativeGuardImpl()
: o(0), next(0), prev(0)
{