summaryrefslogtreecommitdiffstats
path: root/examples/declarative/xmldata
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:13 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:13 (GMT)
commit62b51f36c41fdef46b785d8f3a9443c016a9263a (patch)
treefb6878c5036de4d76a5a19011b9531ef5949a437 /examples/declarative/xmldata
parent3c4df26a8d184b728395c8aad26b05626176b7b5 (diff)
downloadQt-62b51f36c41fdef46b785d8f3a9443c016a9263a.zip
Qt-62b51f36c41fdef46b785d8f3a9443c016a9263a.tar.gz
Qt-62b51f36c41fdef46b785d8f3a9443c016a9263a.tar.bz2
Use console.log, not print
Diffstat (limited to 'examples/declarative/xmldata')
-rw-r--r--examples/declarative/xmldata/daringfireball.qml2
-rw-r--r--examples/declarative/xmldata/yahoonews.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/xmldata/daringfireball.qml b/examples/declarative/xmldata/daringfireball.qml
index 938bdd5..456f309 100644
--- a/examples/declarative/xmldata/daringfireball.qml
+++ b/examples/declarative/xmldata/daringfireball.qml
@@ -33,7 +33,7 @@ Rectangle {
text: content
anchors.top: titleText.bottom
width: 580; wrap: true
- onLinkActivated: { print('link clicked: ' + link) }
+ onLinkActivated: { console.log('link clicked: ' + link) }
}
}
}
diff --git a/examples/declarative/xmldata/yahoonews.qml b/examples/declarative/xmldata/yahoonews.qml
index 4add361..bd14516 100644
--- a/examples/declarative/xmldata/yahoonews.qml
+++ b/examples/declarative/xmldata/yahoonews.qml
@@ -37,7 +37,7 @@ Rectangle {
x: 10; y: 5
text: '<a href=\'' + link + '\'>' + title + '</a>'
font.bold: true; font.family: "Helvetica"; font.pointSize: 14
- onLinkActivated: { print('link clicked: ' + link) }
+ onLinkActivated: { console.log('link clicked: ' + link) }
}
Text {