summaryrefslogtreecommitdiff
authoreilers <eilers>2002-10-07 17:44:24 (UTC)
committer eilers <eilers>2002-10-07 17:44:24 (UTC)
commitd25a925e70982b86539b98362ab2cd75c7883110 (patch) (unidiff)
treeeaa1d292fdfc9a87e538130b8c635df63086ec9c
parent0981af024243b314b45ddaf3ebee08bc184f06e2 (diff)
downloadopie-d25a925e70982b86539b98362ab2cd75c7883110.zip
opie-d25a925e70982b86539b98362ab2cd75c7883110.tar.gz
opie-d25a925e70982b86539b98362ab2cd75c7883110.tar.bz2
added OBackendFactory for advanced backend access
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodoaccess.cpp5
-rw-r--r--libopie2/opiepim/core/otodoaccess.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/libopie/pim/otodoaccess.cpp b/libopie/pim/otodoaccess.cpp
index 5990841..4468812 100644
--- a/libopie/pim/otodoaccess.cpp
+++ b/libopie/pim/otodoaccess.cpp
@@ -5,5 +5,5 @@
5#include "otodoaccesssql.h" 5#include "otodoaccesssql.h"
6#include "otodoaccess.h" 6#include "otodoaccess.h"
7 7#include "obackendfactory.h"
8 8
9OTodoAccess::OTodoAccess( OTodoAccessBackend* end ) 9OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
@@ -13,4 +13,7 @@ OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
13 m_todoBackEnd = new OTodoAccessBackendSQL( QString::null); 13 m_todoBackEnd = new OTodoAccessBackendSQL( QString::null);
14 14
15 // if (end == 0l )
16 // m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null);
17
15 setBackEnd( m_todoBackEnd ); 18 setBackEnd( m_todoBackEnd );
16} 19}
diff --git a/libopie2/opiepim/core/otodoaccess.cpp b/libopie2/opiepim/core/otodoaccess.cpp
index 5990841..4468812 100644
--- a/libopie2/opiepim/core/otodoaccess.cpp
+++ b/libopie2/opiepim/core/otodoaccess.cpp
@@ -5,5 +5,5 @@
5#include "otodoaccesssql.h" 5#include "otodoaccesssql.h"
6#include "otodoaccess.h" 6#include "otodoaccess.h"
7 7#include "obackendfactory.h"
8 8
9OTodoAccess::OTodoAccess( OTodoAccessBackend* end ) 9OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
@@ -13,4 +13,7 @@ OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
13 m_todoBackEnd = new OTodoAccessBackendSQL( QString::null); 13 m_todoBackEnd = new OTodoAccessBackendSQL( QString::null);
14 14
15 // if (end == 0l )
16 // m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null);
17
15 setBackEnd( m_todoBackEnd ); 18 setBackEnd( m_todoBackEnd );
16} 19}