summaryrefslogtreecommitdiff
path: root/libopie/pim/otodoaccessxml.cpp
authorzecke <zecke>2003-02-21 23:31:52 (UTC)
committer zecke <zecke>2003-02-21 23:31:52 (UTC)
commit46f47c0a1e542a8b4222f3ced8f3304534c7509d (patch) (unidiff)
tree82dc97a07bae77387987711c0c21697691955937 /libopie/pim/otodoaccessxml.cpp
parenta7448ec87d97a0128618e83ad7526bd884ef8853 (diff)
downloadopie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.zip
opie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.tar.gz
opie-46f47c0a1e542a8b4222f3ced8f3304534c7509d.tar.bz2
Add XML datebookresource
-clean up todoaccessxml header -implement some more stuff in the oeven tester -extend DefaultFactory to not crash and to use datebook -reading of OEvents is working nicely.. saving will be added tomorrow -fix spelling in ODateBookAcces
Diffstat (limited to 'libopie/pim/otodoaccessxml.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodoaccessxml.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopie/pim/otodoaccessxml.cpp b/libopie/pim/otodoaccessxml.cpp
index c3416cb..22b2469 100644
--- a/libopie/pim/otodoaccessxml.cpp
+++ b/libopie/pim/otodoaccessxml.cpp
@@ -6,26 +6,24 @@
6#include <sys/types.h> 6#include <sys/types.h>
7 7
8#include <unistd.h> 8#include <unistd.h>
9 9
10 10
11#include <qfile.h> 11#include <qfile.h>
12#include <qvector.h> 12#include <qvector.h>
13 13
14#include <qpe/global.h> 14#include <qpe/global.h>
15#include <qpe/stringutil.h> 15#include <qpe/stringutil.h>
16#include <qpe/timeconversion.h> 16#include <qpe/timeconversion.h>
17 17
18#include <opie/xmltree.h>
19
20#include "otodoaccessxml.h" 18#include "otodoaccessxml.h"
21 19
22OTodoAccessXML::OTodoAccessXML( const QString& appName, 20OTodoAccessXML::OTodoAccessXML( const QString& appName,
23 const QString& fileName ) 21 const QString& fileName )
24 : OTodoAccessBackend(), m_app( appName ), m_opened( false ), m_changed( false ) 22 : OTodoAccessBackend(), m_app( appName ), m_opened( false ), m_changed( false )
25{ 23{
26 if (!fileName.isEmpty() ) 24 if (!fileName.isEmpty() )
27 m_file = fileName; 25 m_file = fileName;
28 else 26 else
29 m_file = Global::applicationFileName( "todolist", "todolist.xml" ); 27 m_file = Global::applicationFileName( "todolist", "todolist.xml" );
30} 28}
31OTodoAccessXML::~OTodoAccessXML() { 29OTodoAccessXML::~OTodoAccessXML() {