diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-16 10:57:10 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-16 10:57:10 (GMT) |
commit | 73be91d3ec0f9c0701db7260f62426d43fdf5fb0 (patch) | |
tree | 4c28ac1720c1ae6248e7af17c584642c1e9d349f /examples/declarative/webview/content/Mapping/Map.qml | |
parent | 96be992ccdc7a9aaf02672234be7bd341be105e7 (diff) | |
download | Qt-73be91d3ec0f9c0701db7260f62426d43fdf5fb0.zip Qt-73be91d3ec0f9c0701db7260f62426d43fdf5fb0.tar.gz Qt-73be91d3ec0f9c0701db7260f62426d43fdf5fb0.tar.bz2 |
fix line endings
get your git settings fixed, windows users!
Diffstat (limited to 'examples/declarative/webview/content/Mapping/Map.qml')
-rw-r--r-- | examples/declarative/webview/content/Mapping/Map.qml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/examples/declarative/webview/content/Mapping/Map.qml b/examples/declarative/webview/content/Mapping/Map.qml index aae6b5d..2e98940 100644 --- a/examples/declarative/webview/content/Mapping/Map.qml +++ b/examples/declarative/webview/content/Mapping/Map.qml @@ -1,20 +1,20 @@ -import Qt 4.6
-
-Item {
- id: page
- property real latitude: -34.397
- property real longitude: 150.644
- property string address: ""
- WebView {
- id: map
- anchors.fill: parent
- url: "map.html"
- javaScriptWindowObjects: QtObject {
- WebView.windowObjectName: "qml"
- property real lat: page.latitude
- property real lng: page.longitude
- property string address: page.address
- onAddressChanged: {map.evaluateJavaScript("goToAddress()")}
- }
- }
-}
+import Qt 4.6 + +Item { + id: page + property real latitude: -34.397 + property real longitude: 150.644 + property string address: "" + WebView { + id: map + anchors.fill: parent + url: "map.html" + javaScriptWindowObjects: QtObject { + WebView.windowObjectName: "qml" + property real lat: page.latitude + property real lng: page.longitude + property string address: page.address + onAddressChanged: {map.evaluateJavaScript("goToAddress()")} + } + } +} |