summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xml_dom_qdom.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-08-14 08:08:30 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-08-14 08:08:30 (GMT)
commit0b2ee937495f2746816676d094be42b674eed900 (patch)
tree2bd907157ac544ae12085526bfa7693ec8f0026a /doc/src/snippets/code/src_xml_dom_qdom.cpp
parent03330a4a6b4ebf0860f722b041185fb3ae469d3d (diff)
parent8785117eea4bbaa9ec846d7b8dd51219c41bd570 (diff)
downloadQt-0b2ee937495f2746816676d094be42b674eed900.zip
Qt-0b2ee937495f2746816676d094be42b674eed900.tar.gz
Qt-0b2ee937495f2746816676d094be42b674eed900.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
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]