summaryrefslogtreecommitdiffabout
path: root/kabc
Unidiff
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/phonenumber.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/phonenumber.cpp b/kabc/phonenumber.cpp
index 3f641d1..4ad608d 100644
--- a/kabc/phonenumber.cpp
+++ b/kabc/phonenumber.cpp
@@ -164,33 +164,33 @@ QString PhoneNumber::typeLabel( int type )
164 else if ((type & Modem) == Modem) 164 else if ((type & Modem) == Modem)
165 typeString += i18n("Modem"); 165 typeString += i18n("Modem");
166 else if ((type & Car) == Car) 166 else if ((type & Car) == Car)
167 typeString += i18n("Car"); 167 typeString += i18n("Car");
168 else if ((type & Isdn) == Isdn) 168 else if ((type & Isdn) == Isdn)
169 typeString += i18n("ISDN"); 169 typeString += i18n("ISDN");
170 else if ((type & Pcs) == Pcs) 170 else if ((type & Pcs) == Pcs)
171 typeString += i18n("PCS"); 171 typeString += i18n("PCS");
172 else if ((type & Pager) == Pager) 172 else if ((type & Pager) == Pager)
173 typeString += i18n("Pager"); 173 typeString += i18n("Pager");
174 174
175 // add the prefered flag 175 // add the prefered flag
176 if (!typeString.isEmpty()) 176 if (!typeString.isEmpty())
177 typeString += " "; 177 typeString += " ";
178 178
179 if ((type & Pref) == Pref) 179 if ((type & Pref) == Pref)
180 typeString += i18n("(Preferred)"); 180 typeString += i18n("(p)");
181 181
182 //if we still have no match, return "other" 182 //if we still have no match, return "other"
183 if (typeString.isEmpty()) 183 if (typeString.isEmpty())
184 return i18n("Other"); 184 return i18n("Other");
185 185
186 186
187 return typeString; 187 return typeString;
188} 188}
189 189
190QDataStream &KABC::operator<<( QDataStream &s, const PhoneNumber &phone ) 190QDataStream &KABC::operator<<( QDataStream &s, const PhoneNumber &phone )
191{ 191{
192 return s << phone.mId << phone.mType << phone.mNumber; 192 return s << phone.mId << phone.mType << phone.mNumber;
193} 193}
194 194
195QDataStream &KABC::operator>>( QDataStream &s, PhoneNumber &phone ) 195QDataStream &KABC::operator>>( QDataStream &s, PhoneNumber &phone )
196{ 196{