summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-08-25 14:27:04 +1000
committerabcd <qt_abcd1@ovi.com>2011-08-29 09:44:29 +0200
commitccabac44e735b787ee3d3f867d1e1ee0adff3f63 (patch)
tree2889f0d37b2fa68e5659d43cca03fe0bbf7aab0d /config.tests
parent8df5d444bdcd62e5a6a236dfccd7c8507ee4d11f (diff)
downloadqtlocation-ccabac44e735b787ee3d3f867d1e1ee0adff3f63.tar.gz
Add initial jsondb plugin
Currently the plugin does not use proper location schema to store place objects. Also the plugin does some filtering in code rather than with jsondb queries because it seems the comparison operators are not working correctly. These issues are to be addressed in future commits. Currently only basic place information is stored consisting of name, address and coordinate. Change-Id: Icc59f4fe50f5ecdd61d4d9565789d813a41a749f Reviewed-on: http://codereview.qt.nokia.com/3555 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com> Reviewed-by: abcd <qt_abcd1@ovi.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/jsondb/jsondb.pro6
-rw-r--r--config.tests/jsondb/main.cpp48
2 files changed, 54 insertions, 0 deletions
diff --git a/config.tests/jsondb/jsondb.pro b/config.tests/jsondb/jsondb.pro
new file mode 100644
index 00000000..a54ef9e5
--- /dev/null
+++ b/config.tests/jsondb/jsondb.pro
@@ -0,0 +1,6 @@
+TEMPLATE = app
+
+DEFINES += QT_ADDON_JSONDB_LIB
+QT += jsondb
+
+SOURCES += main.cpp
diff --git a/config.tests/jsondb/main.cpp b/config.tests/jsondb/main.cpp
new file mode 100644
index 00000000..1f28f2d0
--- /dev/null
+++ b/config.tests/jsondb/main.cpp
@@ -0,0 +1,48 @@
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the FOO module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+
+#include <jsondb-error.h>
+
+int main()
+{
+ return 0;
+}