summaryrefslogtreecommitdiff
path: root/libopie
authorsimon <simon>2002-04-30 14:26:53 (UTC)
committer simon <simon>2002-04-30 14:26:53 (UTC)
commit5dae945f8ec25a811efb10eb71d606ce8da4429f (patch) (side-by-side diff)
treec12689435fbfb2abd6aedfcbd88208c1cb69407f /libopie
parent3c1b87ffa621f872c72228733a078511e56d2daf (diff)
downloadopie-5dae945f8ec25a811efb10eb71d606ce8da4429f.zip
opie-5dae945f8ec25a811efb10eb71d606ce8da4429f.tar.gz
opie-5dae945f8ec25a811efb10eb71d606ce8da4429f.tar.bz2
- put the xml tree classes into the Opie namespace
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/tododb.cpp2
-rw-r--r--libopie/xmltree.cc1
-rw-r--r--libopie/xmltree.h5
3 files changed, 8 insertions, 0 deletions
diff --git a/libopie/tododb.cpp b/libopie/tododb.cpp
index 33fa177..fe8b8bf 100644
--- a/libopie/tododb.cpp
+++ b/libopie/tododb.cpp
@@ -5,8 +5,10 @@
#include <opie/todoresource.h>
#include <qpe/palmtoprecord.h>
#include <qpe/global.h>
+using namespace Opie;
+
namespace {
class FileToDoResource : public ToDoResource {
public:
diff --git a/libopie/xmltree.cc b/libopie/xmltree.cc
index 408e3c6..27db5b3 100644
--- a/libopie/xmltree.cc
+++ b/libopie/xmltree.cc
@@ -23,8 +23,9 @@
#include <qxml.h>
#include <assert.h>
+using namespace Opie;
XMLElement::XMLElement()
: m_parent( 0 ), m_next( 0 ), m_prev( 0 ), m_first( 0 ), m_last( 0 )
{
diff --git a/libopie/xmltree.h b/libopie/xmltree.h
index ed93c23..4a6b6d9 100644
--- a/libopie/xmltree.h
+++ b/libopie/xmltree.h
@@ -24,8 +24,11 @@
#include <qstring.h>
#include <qmap.h>
#include <qtextstream.h>
+namespace Opie
+{
+
/**
* A small xml lib written by Simon Hausmann.
*/
class XMLElement
@@ -108,5 +111,7 @@ private:
XMLElement( const XMLElement &rhs );
XMLElement &operator=( const XMLElement &rhs );
};
+} // namespace Opie
+
#endif