Diffstat (limited to 'libopie2/opiecore/xmltree.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/xmltree.cc | 11 |
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 | |||
@@ -18,6 +18,7 @@ | |||
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> |
@@ -87,5 +88,5 @@ void XMLElement::insertAfter( XMLElement *newChild, XMLElement *refChild ) | |||
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; |
@@ -96,5 +97,5 @@ QString XMLElement::attribute( const QString &attr ) const | |||
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 | } |
@@ -120,5 +121,5 @@ void XMLElement::insertBefore( XMLElement *newChild, XMLElement *refChild ) | |||
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; |
@@ -282,5 +283,5 @@ XMLElement *XMLElement::namedItem( const QString &name ) | |||
282 | return e; | 283 | return e; |
283 | 284 | ||
284 | return 0; | 285 | return 0; |
285 | } | 286 | } |
286 | 287 | ||