summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/googleMaps.qml
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-16 10:57:10 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-16 10:57:10 (GMT)
commit73be91d3ec0f9c0701db7260f62426d43fdf5fb0 (patch)
tree4c28ac1720c1ae6248e7af17c584642c1e9d349f /examples/declarative/webview/googleMaps.qml
parent96be992ccdc7a9aaf02672234be7bd341be105e7 (diff)
downloadQt-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/googleMaps.qml')
-rw-r--r--examples/declarative/webview/googleMaps.qml62
1 files changed, 31 insertions, 31 deletions
diff --git a/examples/declarative/webview/googleMaps.qml b/examples/declarative/webview/googleMaps.qml
index b5b13bb..1886961 100644
--- a/examples/declarative/webview/googleMaps.qml
+++ b/examples/declarative/webview/googleMaps.qml
@@ -1,31 +1,31 @@
-// This example demonstrates how Web services such as Google Maps can be
-// abstracted as QML types. Here we have a "Mapping" module with a "Map"
-// type. The Map type has an address property. Setting that property moves
-// the map. The underlying implementation uses WebView and the Google Maps
-// API, but users from QML don't need to understand the implementation in
-// order to create a Map.
-
-import Qt 4.6
-import "content/Mapping"
-
-Map {
- id: map
- width: 300
- height: 300
- address: "Paris"
- Rectangle {
- color: "white"
- width: input.width + 20
- height: input.height + 4
- radius: 5
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 5
- x: 70
- TextInput {
- id: input
- text: map.address
- anchors.centerIn: parent
- Keys.onReturnPressed: map.address = input.text
- }
- }
-}
+// This example demonstrates how Web services such as Google Maps can be
+// abstracted as QML types. Here we have a "Mapping" module with a "Map"
+// type. The Map type has an address property. Setting that property moves
+// the map. The underlying implementation uses WebView and the Google Maps
+// API, but users from QML don't need to understand the implementation in
+// order to create a Map.
+
+import Qt 4.6
+import "content/Mapping"
+
+Map {
+ id: map
+ width: 300
+ height: 300
+ address: "Paris"
+ Rectangle {
+ color: "white"
+ width: input.width + 20
+ height: input.height + 4
+ radius: 5
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 5
+ x: 70
+ TextInput {
+ id: input
+ text: map.address
+ anchors.centerIn: parent
+ Keys.onReturnPressed: map.address = input.text
+ }
+ }
+}