-rw-r--r-- | kabc/phonenumber.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/phonenumber.cpp b/kabc/phonenumber.cpp index 6e94c7e..d7e3925 100644 --- a/kabc/phonenumber.cpp +++ b/kabc/phonenumber.cpp | |||
@@ -185,36 +185,36 @@ QString PhoneNumber::typeLabel( int type ) | |||
185 | else if ((type & Modem) == Modem) | 185 | else if ((type & Modem) == Modem) |
186 | typeString += i18n("Modem"); | 186 | typeString += i18n("Modem"); |
187 | else if ((type & Car) == Car) | 187 | else if ((type & Car) == Car) |
188 | typeString += i18n("Car"); | 188 | typeString += i18n("Car"); |
189 | else if ((type & Isdn) == Isdn) | 189 | else if ((type & Isdn) == Isdn) |
190 | typeString += i18n("ISDN"); | 190 | typeString += i18n("ISDN"); |
191 | else if ((type & Pcs) == Pcs) | 191 | else if ((type & Pcs) == Pcs) |
192 | typeString += i18n("PCS"); | 192 | typeString += i18n("PCS"); |
193 | else if ((type & Pager) == Pager) | 193 | else if ((type & Pager) == Pager) |
194 | typeString += i18n("Pager"); | 194 | typeString += i18n("Pager"); |
195 | else if ((type & Sip) == Sip) | 195 | else if ((type & Sip) == Sip) |
196 | typeString += i18n("SIP"); | 196 | typeString += i18n("SIP"); |
197 | 197 | ||
198 | // add the prefered flag | 198 | // add the prefered flag |
199 | if (!typeString.isEmpty()) | 199 | if (!typeString.isEmpty()) |
200 | typeString += " "; | 200 | typeString += " "; |
201 | 201 | /* | |
202 | if ((type & Pref) == Pref) | 202 | if ((type & Pref) == Pref) |
203 | typeString += i18n("(p)"); | 203 | typeString += i18n("(p)"); |
204 | 204 | */ | |
205 | //if we still have no match, return "other" | 205 | //if we still have no match, return "other" |
206 | if (typeString.isEmpty()) | 206 | if (typeString.isEmpty()) |
207 | return i18n("Other"); | 207 | return i18n("Other"); |
208 | 208 | ||
209 | 209 | ||
210 | return typeString; | 210 | return typeString; |
211 | } | 211 | } |
212 | 212 | ||
213 | QDataStream &KABC::operator<<( QDataStream &s, const PhoneNumber &phone ) | 213 | QDataStream &KABC::operator<<( QDataStream &s, const PhoneNumber &phone ) |
214 | { | 214 | { |
215 | return s << phone.mId << phone.mType << phone.mNumber; | 215 | return s << phone.mId << phone.mType << phone.mNumber; |
216 | } | 216 | } |
217 | 217 | ||
218 | QDataStream &KABC::operator>>( QDataStream &s, PhoneNumber &phone ) | 218 | QDataStream &KABC::operator>>( QDataStream &s, PhoneNumber &phone ) |
219 | { | 219 | { |
220 | s >> phone.mId >> phone.mType >> phone.mNumber; | 220 | s >> phone.mId >> phone.mType >> phone.mNumber; |