author | zautrix <zautrix> | 2005-10-30 03:18:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-30 03:18:28 (UTC) |
commit | 760f042066478106b87a63d6aba1ac1473a58dae (patch) (unidiff) | |
tree | efa26bd696cd152e36552317e2d26a615db0866a /kabc/phonenumber.cpp | |
parent | 54d04eb1b2cb8ec4a3b2cf3dfdfbade45dc7ae7a (diff) | |
download | kdepimpi-760f042066478106b87a63d6aba1ac1473a58dae.zip kdepimpi-760f042066478106b87a63d6aba1ac1473a58dae.tar.gz kdepimpi-760f042066478106b87a63d6aba1ac1473a58dae.tar.bz2 |
fixes
-rw-r--r-- | kabc/phonenumber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/phonenumber.cpp b/kabc/phonenumber.cpp index 897c56d..12b9b09 100644 --- a/kabc/phonenumber.cpp +++ b/kabc/phonenumber.cpp | |||
@@ -227,25 +227,25 @@ PhoneNumber::TypeList PhoneNumber::typeList() | |||
227 | } | 227 | } |
228 | PhoneNumber::TypeList PhoneNumber::supportedTypeList() | 228 | PhoneNumber::TypeList PhoneNumber::supportedTypeList() |
229 | { | 229 | { |
230 | static TypeList list; | 230 | static TypeList list; |
231 | if ( list.count() == 0 ) | 231 | if ( list.count() == 0 ) |
232 | list << (Home| Pref) << (Work| Pref) << Cell <<(Pcs|Pref)<< (Pcs|Voice)<< Home << Work << Car << Pcs <<(Work| Msg | Voice) << (Work| Msg) << (Home | Fax) << (Work| Fax) << Fax<< Pager << Isdn << Msg << Pref << Voice; | 232 | list << (Home| Pref) << (Work| Pref) << Cell <<(Pcs|Pref)<< (Pcs|Voice)<< Home << Work << Car << Pcs <<(Work| Msg | Voice) << (Work| Msg) << (Home | Fax) << (Work| Fax) << Fax<< Pager << Isdn << Msg << Pref << Voice; |
233 | return list; | 233 | return list; |
234 | } | 234 | } |
235 | QStringList PhoneNumber::supportedTypeListNames() | 235 | QStringList PhoneNumber::supportedTypeListNames() |
236 | { | 236 | { |
237 | static QStringList list; | 237 | static QStringList list; |
238 | if ( list.count() == 0 ) | 238 | if ( list.count() == 0 ) |
239 | list << i18n("Home") << i18n("Work") << i18n("Mobile") << i18n("SIP") << i18n("VoIP") <<i18n("Home2")<< i18n("Work2") << i18n("Mobile2") << i18n("SIP2") << i18n("Assistent") << i18n("Company") << i18n("Fax (Home)") << i18n("Fax (Work)") << i18n("Fax (Other)") << i18n("Pager") << i18n("ISDN") << i18n("Callback") << i18n("Primary")<< i18n("Other"); | 239 | list << i18n("Home") << i18n("Work") << i18n("Mobile") << i18n("SiP") << i18n("VoIP") <<i18n("Home2")<< i18n("Work2") << i18n("Mobile2") << i18n("SiP2") << i18n("Assistent") << i18n("Company") << i18n("Fax (Home)") << i18n("Fax (Work)") << i18n("Fax (Other)") << i18n("Pager") << i18n("ISDN") << i18n("Callback") << i18n("Primary")<< i18n("Other"); |
240 | return list; | 240 | return list; |
241 | } | 241 | } |
242 | 242 | ||
243 | int PhoneNumber::typeListIndex4Type(int type ) | 243 | int PhoneNumber::typeListIndex4Type(int type ) |
244 | { | 244 | { |
245 | TypeList list = supportedTypeList(); | 245 | TypeList list = supportedTypeList(); |
246 | int i = 0; | 246 | int i = 0; |
247 | while ( i < list.count() ) { | 247 | while ( i < list.count() ) { |
248 | if ( list [i] == type ) | 248 | if ( list [i] == type ) |
249 | return i; | 249 | return i; |
250 | ++i; | 250 | ++i; |
251 | } | 251 | } |