summaryrefslogtreecommitdiffstats
path: root/src/imports/contacts/qdeclarativecontactfilter.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-01-06 10:38:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-06 10:26:36 +0100
commitef85e412310fd155508031021c57eedfa5622e83 (patch)
treec55a9b1532b92cc6cf7197185a12cb95994ec1ea /src/imports/contacts/qdeclarativecontactfilter.cpp
parent75d049f770f86e156e0249f0aa4fad0f2d98e56c (diff)
Move the declarative bindings out of the module namespace
This fixes a broken types in QML (the typical error from engine is like "QMetaProperty::read: Unable to handle unregistered datatype 'QDeclarativeOrganizerItemType::ItemType' for property 'QtOrganizer::QDeclarativeOrganizerEvent::itemType") This reverts 75d049f770f86 and magically fixes related issues missed in it. Task-number: QTBUG-35276 Change-Id: I792cf2bb3ff8f5ea7b59438ddf3107009eb2bc63 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/contacts/qdeclarativecontactfilter.cpp')
-rw-r--r--src/imports/contacts/qdeclarativecontactfilter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/contacts/qdeclarativecontactfilter.cpp b/src/imports/contacts/qdeclarativecontactfilter.cpp
index b8e1b35cd..4eb470b28 100644
--- a/src/imports/contacts/qdeclarativecontactfilter.cpp
+++ b/src/imports/contacts/qdeclarativecontactfilter.cpp
@@ -41,7 +41,9 @@
#include "qdeclarativecontactfilter_p.h"
-QT_BEGIN_NAMESPACE_CONTACTS
+QTCONTACTS_USE_NAMESPACE
+
+QT_BEGIN_NAMESPACE
/*!
\qmltype Filter
@@ -419,4 +421,4 @@ void QDeclarativeContactCompoundFilter::filters_clear(QQmlListProperty<QDeclarat
#include "moc_qdeclarativecontactfilter_p.cpp"
-QT_END_NAMESPACE_CONTACTS
+QT_END_NAMESPACE