| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I8e8328d8df56e83f13b19858434aeb6e5f888f30
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
| |
|
|
|
| |
Change-Id: I45ffe83ea3f8e4144cc28b8801a6cbd7488e82b5
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1) All QML elemnts use the new client C++ API
2) Changes since is not supported
3) QML auto tests link against the new API
Done-with: Liang Qi <liang.qi@nokia.com>
Done-with: Tapani Mikola <tapani.mikola@nokia.com>
Change-Id: Ifbbeb4cce855ebd275389f3f69ee9b3be6092d64
Reviewed-by: Tapani Mikola <tapani.mikola@nokia.com>
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
This better matches the new C++ API and doesn't rely on the magic _id
property. Currently the QML implementation copies the implementation
from the C++ API, however it should be changed to call the C++ API
directly once it's moved over to the new C++ API.
Change-Id: I7347e639a08018bb4e092a33f28fac1c4ba6be96
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
|
| |
|
|
|
|
|
| |
Moved all classes into the QtAddOn::JsonDb namespace
Change-Id: Idf528075335ac51312731f744a018212aff691d2
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
|
| |
|
|
|
|
|
|
|
| |
Removed the parentItem from the APIs creating QML elements. The
returned objects have the QDeclarativeEngine::JavaScriptOwnership
Change-Id: I0eda1db101042b3581d1b4f7e70df480cabb4b3f
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
|
| |
|
|
|
|
|
|
|
|
| |
As in the past, to avoid rewriting various autotests that contain
line-number information, an extra blank line has been inserted at the
end of the license text to ensure that this commit does not change the
total number of lines in the license header.
Change-Id: I5ae1e9dd3cfde64171a7a7c5f8ceb88afd2ac7a2
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| |
|
|
|
|
|
|
| |
1) Callback syntax for create, update & remove
2) New API for generating uuid from object
Change-Id: I756058277d27ffc3f0e9d568c2ea618e4f67086d
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| |
|
|
|
|
|
| |
Replace Nokia contact email address with Qt Project website.
Change-Id: Ied95281fa94388f28c8a31ef2f43adb00fa403c2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
| |
Change-Id: Icaa0a6029f47343297200eacc17cbf8d728d4975
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renamed QT_ADDON_JSONDB_BEGIN_NAMESPACE to QT_BEGIN_NAMESPACE_JSONDB to ensure
there is the same prefix for all those macros. "syncqt" app has some logic when
it parses headers and it is easier to parse headers if the prefix matches.
This is the first change that enables us to instruct syncqt to generate forward
includes like "#include <JsonDbClient>" in addition to existing "#include
<jsondb-client.h>"
This change depends on http://codereview.qt-project.org/12127
Change-Id: I0700f58d53aa5c28193fc7ab93e36bdccd6983ed
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| |
|
|
|
|
| |
Change-Id: I6bb93e635aac72f89efe6a91209595e0dd432709
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
Following QML Elements are added
1) JsonDbPartition : The element that represents a partition object.
2) JsonDatabse : The module API that allows to list and access partitions.
3) JsonDbNotify: Provides notification signals
4) JsonDbSortingListModel: A listmodel that sorts elements at client side.
5) JsonDbQueryObject: Used to query objects
6) JsonDbChangesSinceObject: Used to retrieve the changesSince
Pending:
1) Support for multiple partitons in the caching listmodel (JsonDbListModel)
2) Autotests for JsonDatabse, JsonDbNotify, JsonDbQueryObject & JsonDbChangesSinceObject.
Change-Id: I29ffa8417da270dea1b4f92a875d440d14ec35c1
Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
Sanity-Review: Jamey Hicks <jamey.hicks@nokia.com>
|