summaryrefslogtreecommitdiff
path: root/libopie2/opiecore
authordrw <drw>2004-02-22 17:54:40 (UTC)
committer drw <drw>2004-02-22 17:54:40 (UTC)
commit8705083d6a267450c71b0276833db5c7238f260e (patch) (side-by-side diff)
tree12cfeab08d8a05808650acb4bc48848633fda63e /libopie2/opiecore
parent5b27ef38d45ae4aa751c6e364cb62ed428808e3f (diff)
downloadopie-8705083d6a267450c71b0276833db5c7238f260e.zip
opie-8705083d6a267450c71b0276833db5c7238f260e.tar.gz
opie-8705083d6a267450c71b0276833db5c7238f260e.tar.bz2
libopie2: libopie->libopie2
Diffstat (limited to 'libopie2/opiecore') (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 @@
Boston, MA 02111-1307, USA.
*/
+#include <opie2/xmltree.h>
+
#include <qpe/stringutil.h>
-#include <opie/xmltree.h>
#include <qxml.h>
@@ -86,7 +87,7 @@ void XMLElement::insertAfter( XMLElement *newChild, XMLElement *refChild )
newChild->m_prev = refChild;
newChild->m_next = next;
-
+
if ( next )
next->m_prev = newChild;
}
@@ -95,7 +96,7 @@ QString XMLElement::attribute( const QString &attr ) const
{
AttributeMap::ConstIterator it = m_attributes.find( attr );
if ( it == m_attributes.end() )
- return QString::null;
+ return QString::null;
return it.data();
}
@@ -119,7 +120,7 @@ void XMLElement::insertBefore( XMLElement *newChild, XMLElement *refChild )
XMLElement *prev = refChild->m_prev;
refChild->m_prev = newChild;
-
+
newChild->m_prev = prev;
newChild->m_next = refChild;
@@ -281,7 +282,7 @@ XMLElement *XMLElement::namedItem( const QString &name )
if ( e->tagName() == name )
return e;
- return 0;
+ return 0;
}
XMLElement *XMLElement::clone() const