summaryrefslogtreecommitdiff
path: root/libopie2
authoreilers <eilers>2002-10-07 17:44:24 (UTC)
committer eilers <eilers>2002-10-07 17:44:24 (UTC)
commitd25a925e70982b86539b98362ab2cd75c7883110 (patch) (side-by-side diff)
treeeaa1d292fdfc9a87e538130b8c635df63086ec9c /libopie2
parent0981af024243b314b45ddaf3ebee08bc184f06e2 (diff)
downloadopie-d25a925e70982b86539b98362ab2cd75c7883110.zip
opie-d25a925e70982b86539b98362ab2cd75c7883110.tar.gz
opie-d25a925e70982b86539b98362ab2cd75c7883110.tar.bz2
added OBackendFactory for advanced backend access
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/otodoaccess.cpp5
1 files changed, 4 insertions, 1 deletions
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
@@ -4,7 +4,7 @@
#include "otodoaccesssql.h"
#include "otodoaccess.h"
-
+#include "obackendfactory.h"
OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
: QObject(), OPimAccessTemplate<OTodo>( end ), m_todoBackEnd( end )
@@ -12,6 +12,9 @@ OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
if (end == 0l )
m_todoBackEnd = new OTodoAccessBackendSQL( QString::null);
+ // if (end == 0l )
+ // m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null);
+
setBackEnd( m_todoBackEnd );
}
OTodoAccess::~OTodoAccess() {