author | mickeyl <mickeyl> | 2004-02-24 12:46:23 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-02-24 12:46:23 (UTC) |
commit | 911473db35a9fce5f3589f03c27210456faaba86 (patch) (unidiff) | |
tree | 7d55b6117b24de6ab18747b00a4641d38001c0ed /libopie2/opiepim/core/opimresolver.cpp | |
parent | a2ead23c3614fe581261455cb4c3f31cee2098f3 (diff) | |
download | opie-911473db35a9fce5f3589f03c27210456faaba86.zip opie-911473db35a9fce5f3589f03c27210456faaba86.tar.gz opie-911473db35a9fce5f3589f03c27210456faaba86.tar.bz2 |
*phew* here is the class and file rename patch. not converted yet: backend,
but that will be not visible to application classes so we can change it later.
Diffstat (limited to 'libopie2/opiepim/core/opimresolver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimresolver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiepim/core/opimresolver.cpp b/libopie2/opiepim/core/opimresolver.cpp index 73d7de1..eb6661a 100644 --- a/libopie2/opiepim/core/opimresolver.cpp +++ b/libopie2/opiepim/core/opimresolver.cpp | |||
@@ -69,15 +69,15 @@ OPimRecord* OPimResolver::record( const QString& service ) { | |||
69 | return record( serviceId( service ) ); | 69 | return record( serviceId( service ) ); |
70 | } | 70 | } |
71 | OPimRecord* OPimResolver::record( int rtti ) { | 71 | OPimRecord* OPimResolver::record( int rtti ) { |
72 | OPimRecord* rec = 0l; | 72 | OPimRecord* rec = 0l; |
73 | switch( rtti ) { | 73 | switch( rtti ) { |
74 | case 1: /* todolist */ | 74 | case 1: /* todolist */ |
75 | rec = new OTodo(); | 75 | rec = new OPimTodo(); |
76 | case 2: /* contact */ | 76 | case 2: /* contact */ |
77 | rec = new OContact(); | 77 | rec = new OPimContact(); |
78 | default: | 78 | default: |
79 | break; | 79 | break; |
80 | } | 80 | } |
81 | /* | 81 | /* |
82 | * FIXME resolve externally | 82 | * FIXME resolve externally |
83 | */ | 83 | */ |
@@ -208,18 +208,18 @@ OPimBase* OPimResolver::backend( const QString& service ) { | |||
208 | return backend( serviceId( service ) ); | 208 | return backend( serviceId( service ) ); |
209 | } | 209 | } |
210 | OPimBase* OPimResolver::backend( int rtti ) { | 210 | OPimBase* OPimResolver::backend( int rtti ) { |
211 | OPimBase* base = 0l; | 211 | OPimBase* base = 0l; |
212 | switch( rtti ) { | 212 | switch( rtti ) { |
213 | case TodoList: | 213 | case TodoList: |
214 | base = new OTodoAccess(); | 214 | base = new OPimTodoAccess(); |
215 | break; | 215 | break; |
216 | case DateBook: | 216 | case DateBook: |
217 | break; | 217 | break; |
218 | case AddressBook: | 218 | case AddressBook: |
219 | base = new OContactAccess("Resolver"); | 219 | base = new OPimContactAccess("Resolver"); |
220 | break; | 220 | break; |
221 | default: | 221 | default: |
222 | break; | 222 | break; |
223 | } | 223 | } |
224 | // FIXME for 3rd party | 224 | // FIXME for 3rd party |
225 | if (!base ) | 225 | if (!base ) |