summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2013-12-04 12:51:56 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-04 21:01:52 +0100
commit306d39364aa63d8802d55c2593a03f689088601e (patch)
tree7fad4e7af54cf65386890c83969fadd0e369f953 /doc
parent0e6c20cb8dfbdac9f761a0c189fc5b82c71b92f9 (diff)
downloadqtenginio-306d39364aa63d8802d55c2593a03f689088601e.tar.gz
Change snippets in qml EnginioClient documentation
Now it is more visible that the snippets can not stand on its own Change-Id: I3799379e833aa88d2f4c1a8bdaa6489f6fdee52a Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/snippets/simple.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/simple.qml b/doc/snippets/simple.qml
index 89b1b4d..58dac5f 100644
--- a/doc/snippets/simple.qml
+++ b/doc/snippets/simple.qml
@@ -53,6 +53,7 @@ Rectangle {
//! [client-signals]
EnginioClient {
+ ...
onFinished: console.log("Engino request finished." + reply.data)
onError: console.log("Enginio error " + reply.errorCode + ": " + reply.errorString)
}
@@ -60,6 +61,7 @@ Rectangle {
//! [client-query]
EnginioClient {
+ ...
Component.onCompleted: query({"objectType": "objects.image"})
}
//! [client-query]