Add QtJsonDb namespace to Q_PROPERTY as needed for qml
authorJamey Hicks <jamey.hicks@nokia.com>
Mon, 8 Oct 2012 15:38:24 +0000 (11:38 -0400)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 10 Oct 2012 19:44:47 +0000 (21:44 +0200)
commitc29da8f42556856cb7dc8538fc505b9426e0f69e
tree6ecda7b80a68e2fc2b2c75ffad768d620dbb3313
parent68599fdb6edd04cb0bda2440b70406a503f5bf02
Add QtJsonDb namespace to Q_PROPERTY as needed for qml

The QML runtime requires that QObject classes defined in other C++
namespaces have their namespace prepended in Q_PROPERTY, Q_INVOKABLE,
etc. This change prepends the QtJsonDb in the necessary files in
src/imports so that QtJsonDb QML elements that use Partition objects
will work again.

Change-Id: Id424fefe1fca960807fffc77cc47a4a2fc452a41
Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
src/client/qjsondbglobal.h
src/imports/jsondb/jsondatabase.h
src/imports/jsondb/jsondblistmodel.h
src/imports/jsondb/jsondbnotification.h
src/imports/jsondb/jsondbpartition.h
src/imports/jsondb/jsondbqueryobject.h
src/imports/jsondb/jsondbsortinglistmodel.h