summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/xmltree.cc
authordrw <drw>2004-02-22 17:54:40 (UTC)
committer drw <drw>2004-02-22 17:54:40 (UTC)
commit8705083d6a267450c71b0276833db5c7238f260e (patch) (unidiff)
tree12cfeab08d8a05808650acb4bc48848633fda63e /libopie2/opiecore/xmltree.cc
parent5b27ef38d45ae4aa751c6e364cb62ed428808e3f (diff)
downloadopie-8705083d6a267450c71b0276833db5c7238f260e.zip
opie-8705083d6a267450c71b0276833db5c7238f260e.tar.gz
opie-8705083d6a267450c71b0276833db5c7238f260e.tar.bz2
libopie2: libopie->libopie2
Diffstat (limited to 'libopie2/opiecore/xmltree.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/xmltree.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/libopie2/opiecore/xmltree.cc b/libopie2/opiecore/xmltree.cc
index 27db5b3..059791b 100644
--- a/libopie2/opiecore/xmltree.cc
+++ b/libopie2/opiecore/xmltree.cc
@@ -17,8 +17,9 @@
17 Boston, MA 02111-1307, USA. 17 Boston, MA 02111-1307, USA.
18*/ 18*/
19 19
20#include <opie2/xmltree.h>
21
20#include <qpe/stringutil.h> 22#include <qpe/stringutil.h>
21#include <opie/xmltree.h>
22 23
23#include <qxml.h> 24#include <qxml.h>
24 25
@@ -86,7 +87,7 @@ void XMLElement::insertAfter( XMLElement *newChild, XMLElement *refChild )
86 87
87 newChild->m_prev = refChild; 88 newChild->m_prev = refChild;
88 newChild->m_next = next; 89 newChild->m_next = next;
89 90
90 if ( next ) 91 if ( next )
91 next->m_prev = newChild; 92 next->m_prev = newChild;
92} 93}
@@ -95,7 +96,7 @@ QString XMLElement::attribute( const QString &attr ) const
95{ 96{
96 AttributeMap::ConstIterator it = m_attributes.find( attr ); 97 AttributeMap::ConstIterator it = m_attributes.find( attr );
97 if ( it == m_attributes.end() ) 98 if ( it == m_attributes.end() )
98 return QString::null; 99 return QString::null;
99 return it.data(); 100 return it.data();
100} 101}
101 102
@@ -119,7 +120,7 @@ void XMLElement::insertBefore( XMLElement *newChild, XMLElement *refChild )
119 XMLElement *prev = refChild->m_prev; 120 XMLElement *prev = refChild->m_prev;
120 121
121 refChild->m_prev = newChild; 122 refChild->m_prev = newChild;
122 123
123 newChild->m_prev = prev; 124 newChild->m_prev = prev;
124 newChild->m_next = refChild; 125 newChild->m_next = refChild;
125 126
@@ -281,7 +282,7 @@ XMLElement *XMLElement::namedItem( const QString &name )
281 if ( e->tagName() == name ) 282 if ( e->tagName() == name )
282 return e; 283 return e;
283 284
284 return 0; 285 return 0;
285} 286}
286 287
287XMLElement *XMLElement::clone() const 288XMLElement *XMLElement::clone() const