author | eilers <eilers> | 2002-10-14 16:21:54 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-14 16:21:54 (UTC) |
commit | f48ddfb53e49550f9fe8e9502f2a44aeb8b359cc (patch) (unidiff) | |
tree | 7972f3fc9a1d61e22fe57ff0fa96fd9a0badb55d /libopie/pim/ocontactaccess.cpp | |
parent | da3868438e739310862bf65b0d0c8ffa864392e8 (diff) | |
download | opie-f48ddfb53e49550f9fe8e9502f2a44aeb8b359cc.zip opie-f48ddfb53e49550f9fe8e9502f2a44aeb8b359cc.tar.gz opie-f48ddfb53e49550f9fe8e9502f2a44aeb8b359cc.tar.bz2 |
Some minor interface updates
Diffstat (limited to 'libopie/pim/ocontactaccess.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/ocontactaccess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie/pim/ocontactaccess.cpp b/libopie/pim/ocontactaccess.cpp index b5f358b..e8c0a45 100644 --- a/libopie/pim/ocontactaccess.cpp +++ b/libopie/pim/ocontactaccess.cpp | |||
@@ -16,16 +16,19 @@ | |||
16 | * ToDo: XML-Backend: Automatic reload if something was changed... | 16 | * ToDo: XML-Backend: Automatic reload if something was changed... |
17 | * | 17 | * |
18 | * | 18 | * |
19 | * ===================================================================== | 19 | * ===================================================================== |
20 | * Version: $Id$ | 20 | * Version: $Id$ |
21 | * ===================================================================== | 21 | * ===================================================================== |
22 | * History: | 22 | * History: |
23 | * $Log$ | 23 | * $Log$ |
24 | * Revision 1.4 2002/10/14 16:21:54 eilers | ||
25 | * Some minor interface updates | ||
26 | * | ||
24 | * Revision 1.3 2002/10/07 17:34:24 eilers | 27 | * Revision 1.3 2002/10/07 17:34:24 eilers |
25 | * added OBackendFactory for advanced backend access | 28 | * added OBackendFactory for advanced backend access |
26 | * | 29 | * |
27 | * Revision 1.2 2002/10/02 16:18:11 eilers | 30 | * Revision 1.2 2002/10/02 16:18:11 eilers |
28 | * debugged and seems to work almost perfectly .. | 31 | * debugged and seems to work almost perfectly .. |
29 | * | 32 | * |
30 | * Revision 1.1 2002/09/27 17:11:44 eilers | 33 | * Revision 1.1 2002/09/27 17:11:44 eilers |
31 | * Added API for accessing the Contact-Database ! It is compiling, but | 34 | * Added API for accessing the Contact-Database ! It is compiling, but |
@@ -61,17 +64,16 @@ OContactAccess::OContactAccess ( const QString appname, const QString , | |||
61 | OContactAccessBackend* end, bool autosync ): | 64 | OContactAccessBackend* end, bool autosync ): |
62 | OPimAccessTemplate<OContact>( end ), | 65 | OPimAccessTemplate<OContact>( end ), |
63 | m_changed ( false ) | 66 | m_changed ( false ) |
64 | { | 67 | { |
65 | /* take care of the backend. If there is no one defined, we | 68 | /* take care of the backend. If there is no one defined, we |
66 | * will use the XML-Backend as default (until we have a cute SQL-Backend..). | 69 | * will use the XML-Backend as default (until we have a cute SQL-Backend..). |
67 | */ | 70 | */ |
68 | if( end == 0 ) { | 71 | if( end == 0 ) { |
69 | // __asm__("int3"); | ||
70 | qWarning ("Using BackendFactory !"); | 72 | qWarning ("Using BackendFactory !"); |
71 | end = OBackendFactory<OContactAccessBackend>::Default( "contact", appname ); | 73 | end = OBackendFactory<OContactAccessBackend>::Default( "contact", appname ); |
72 | } | 74 | } |
73 | // Set backend locally and in template | 75 | // Set backend locally and in template |
74 | m_backEnd = end; | 76 | m_backEnd = end; |
75 | OPimAccessTemplate<OContact>::setBackEnd (end); | 77 | OPimAccessTemplate<OContact>::setBackEnd (end); |
76 | 78 | ||
77 | 79 | ||