aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-08-28 11:21:19 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-28 06:21:58 +0200
commit87679b3499e68957998b98bf13b6d98b3aa8b4c3 (patch)
tree4e6d613173a1e6abf5ef0afc65a615fd6b7fdbfe /examples
parentabaee0a83588f86740ea553ff7623a789b6b787a (diff)
Docs - add missing images and code, clean up sections
Includes the removal of concepts/modelviewsdata/localstorage.qdoc since that is a duplicate of the existing Local Storage module docs. Also removes classes from whatsnew.qdoc that are internal. Change-Id: I4170c1797bbec09bb67784b0b2ad67fd990365a8 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/localstorage/localstorage/hello.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/localstorage/localstorage/hello.qml b/examples/localstorage/localstorage/hello.qml
index 3496b86bd9..d872379fe2 100644
--- a/examples/localstorage/localstorage/hello.qml
+++ b/examples/localstorage/localstorage/hello.qml
@@ -39,18 +39,18 @@
****************************************************************************/
//![0]
import QtQuick 2.0
-import QtQuick.LocalStorage 2.0 as LS
+import QtQuick.LocalStorage 2.0
Rectangle {
- color: "white"
width: 200
height: 100
-
+
Text {
text: "?"
anchors.horizontalCenter: parent.horizontalCenter
+
function findGreetings() {
- var db = LS.openDatabaseSync("QDeclarativeExampleDB", "1.0", "The Example QML SQL!", 1000000);
+ var db = LocalStorage.openDatabaseSync("QQmlExampleDB", "1.0", "The Example QML SQL!", 1000000);
db.transaction(
function(tx) {