summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xml_dom_qdom.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-13 06:01:46 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-13 06:01:46 (GMT)
commita7f21de784bb50d61f299eb8d6d080a8c6fac6b5 (patch)
tree5c4f33495463b759bd6fb541fcf404f5ad081095 /doc/src/snippets/code/src_xml_dom_qdom.cpp
parent72f565838c5d9f8ee8984d2a7b3586b1d51e656d (diff)
parent6c3a6629de59898a3ea38181a1623896810c576e (diff)
downloadQt-a7f21de784bb50d61f299eb8d6d080a8c6fac6b5.zip
Qt-a7f21de784bb50d61f299eb8d6d080a8c6fac6b5.tar.gz
Qt-a7f21de784bb50d61f299eb8d6d080a8c6fac6b5.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src/snippets/code/src_xml_dom_qdom.cpp')
-rw-r--r--doc/src/snippets/code/src_xml_dom_qdom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/snippets/code/src_xml_dom_qdom.cpp b/doc/src/snippets/code/src_xml_dom_qdom.cpp
index d07d6d2..622295d 100644
--- a/doc/src/snippets/code/src_xml_dom_qdom.cpp
+++ b/doc/src/snippets/code/src_xml_dom_qdom.cpp
@@ -68,7 +68,7 @@ QDomElement element4 = document.createElement("MyElement");
//! [7]
-<link href="http://qtsoftware.com" color="red" />
+<link href="http://qt.nokia.com" color="red" />
//! [7]
@@ -76,10 +76,10 @@ QDomElement element4 = document.createElement("MyElement");
QDomElement e = //...
//...
QDomAttr a = e.attributeNode("href");
-cout << a.value() << endl; // prints "http://qtsoftware.com"
-a.setValue("http://doc.trolltech.com"); // change the node's attribute
+cout << a.value() << endl; // prints "http://qt.nokia.com"
+a.setValue("http://qt.nokia.com/doc"); // change the node's attribute
QDomAttr a2 = e.attributeNode("href");
-cout << a2.value() << endl; // prints "http://doc.trolltech.com"
+cout << a2.value() << endl; // prints "http://qt.nokia.com/doc"
//! [8]