author | zautrix <zautrix> | 2005-04-07 07:42:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-07 07:42:53 (UTC) |
commit | c82f9b40f6023dc7b39ac555cba8c4c313f15ca8 (patch) (side-by-side diff) | |
tree | e9e4f0c0ed3243ec060a475983b271bd27b40d15 /kabc/phonenumber.cpp | |
parent | 76e220bf1236ae6afa9d91f18f0cd9ced730cff0 (diff) | |
download | kdepimpi-c82f9b40f6023dc7b39ac555cba8c4c313f15ca8.zip kdepimpi-c82f9b40f6023dc7b39ac555cba8c4c313f15ca8.tar.gz kdepimpi-c82f9b40f6023dc7b39ac555cba8c4c313f15ca8.tar.bz2 |
added fields to kapi
-rw-r--r-- | kabc/phonenumber.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/kabc/phonenumber.cpp b/kabc/phonenumber.cpp index 041effc..4c6231d 100644 --- a/kabc/phonenumber.cpp +++ b/kabc/phonenumber.cpp @@ -179,12 +179,11 @@ QString PhoneNumber::typeLabel( int type ) + + if ((type & Cell) == Cell) + typeString += i18n("Mobile") +" "; if ((type & Home) == Home) - typeString += i18n("Home"); + typeString += i18n("Home")+" "; else if ((type & Work) == Work) - typeString += i18n("Work"); + typeString += i18n("Work")+" "; - if (!typeString.isEmpty()) - typeString += " "; - if ((type & Cell) == Cell) - typeString += i18n("Mobile") +" "; - if ((type & Sip) == Sip) + if ((type & Sip) == Sip) typeString += i18n("SIP")+" "; |