-rw-r--r-- | kabc/addressee.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index 789a694..0d8e8e8 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp | |||
@@ -1034,128 +1034,132 @@ QString Addressee::businessAddressCountryLabel() | |||
1034 | return i18n("Business Address Country"); | 1034 | return i18n("Business Address Country"); |
1035 | } | 1035 | } |
1036 | 1036 | ||
1037 | 1037 | ||
1038 | QString Addressee::businessAddressLabelLabel() | 1038 | QString Addressee::businessAddressLabelLabel() |
1039 | { | 1039 | { |
1040 | return i18n("Business Address Label"); | 1040 | return i18n("Business Address Label"); |
1041 | } | 1041 | } |
1042 | 1042 | ||
1043 | 1043 | ||
1044 | QString Addressee::homePhoneLabel() | 1044 | QString Addressee::homePhoneLabel() |
1045 | { | 1045 | { |
1046 | return i18n("Home Phone"); | 1046 | return i18n("Home Phone"); |
1047 | } | 1047 | } |
1048 | 1048 | ||
1049 | 1049 | ||
1050 | QString Addressee::businessPhoneLabel() | 1050 | QString Addressee::businessPhoneLabel() |
1051 | { | 1051 | { |
1052 | return i18n("Work Phone"); | 1052 | return i18n("Work Phone"); |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | 1055 | ||
1056 | QString Addressee::mobilePhoneLabel() | 1056 | QString Addressee::mobilePhoneLabel() |
1057 | { | 1057 | { |
1058 | return i18n("Mobile Phone"); | 1058 | return i18n("Mobile Phone"); |
1059 | } | 1059 | } |
1060 | QString Addressee::mobileWorkPhoneLabel() | 1060 | QString Addressee::mobileWorkPhoneLabel() |
1061 | { | 1061 | { |
1062 | return i18n("Mobile2 (Work)"); | 1062 | return i18n("Mobile2 (Work)"); |
1063 | } | 1063 | } |
1064 | QString Addressee::mobileHomePhoneLabel() | 1064 | QString Addressee::mobileHomePhoneLabel() |
1065 | { | 1065 | { |
1066 | return i18n("Mobile (Home)"); | 1066 | return i18n("Mobile (Home)"); |
1067 | } | 1067 | } |
1068 | 1068 | ||
1069 | 1069 | ||
1070 | QString Addressee::homeFaxLabel() | 1070 | QString Addressee::homeFaxLabel() |
1071 | { | 1071 | { |
1072 | return i18n("Fax (Home)"); | 1072 | return i18n("Fax (Home)"); |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | 1075 | ||
1076 | QString Addressee::businessFaxLabel() | 1076 | QString Addressee::businessFaxLabel() |
1077 | { | 1077 | { |
1078 | return i18n("Fax (Work)"); | 1078 | return i18n("Fax (Work)"); |
1079 | } | 1079 | } |
1080 | 1080 | ||
1081 | 1081 | ||
1082 | QString Addressee::carPhoneLabel() | 1082 | QString Addressee::carPhoneLabel() |
1083 | { | 1083 | { |
1084 | return i18n("Mobile2 (Car)"); | 1084 | return i18n("Mobile2 (Car)"); |
1085 | } | 1085 | } |
1086 | 1086 | ||
1087 | 1087 | ||
1088 | QString Addressee::isdnLabel() | 1088 | QString Addressee::isdnLabel() |
1089 | { | 1089 | { |
1090 | return i18n("ISDN"); | 1090 | return i18n("ISDN"); |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | 1093 | ||
1094 | QString Addressee::pagerLabel() | 1094 | QString Addressee::pagerLabel() |
1095 | { | 1095 | { |
1096 | return i18n("Pager"); | 1096 | return i18n("Pager"); |
1097 | } | 1097 | } |
1098 | QString Addressee::otherPhoneLabel() | ||
1099 | { | ||
1100 | return i18n("Other Phone"); | ||
1101 | } | ||
1098 | 1102 | ||
1099 | QString Addressee::sipLabel() | 1103 | QString Addressee::sipLabel() |
1100 | { | 1104 | { |
1101 | return i18n("SIP"); | 1105 | return i18n("SIP"); |
1102 | } | 1106 | } |
1103 | 1107 | ||
1104 | QString Addressee::emailLabel() | 1108 | QString Addressee::emailLabel() |
1105 | { | 1109 | { |
1106 | return i18n("Email Address"); | 1110 | return i18n("Email Address"); |
1107 | } | 1111 | } |
1108 | 1112 | ||
1109 | 1113 | ||
1110 | void Addressee::setMailer( const QString &mailer ) | 1114 | void Addressee::setMailer( const QString &mailer ) |
1111 | { | 1115 | { |
1112 | if ( mailer == mData->mailer ) return; | 1116 | if ( mailer == mData->mailer ) return; |
1113 | detach(); | 1117 | detach(); |
1114 | mData->empty = false; | 1118 | mData->empty = false; |
1115 | mData->mailer = mailer; | 1119 | mData->mailer = mailer; |
1116 | } | 1120 | } |
1117 | 1121 | ||
1118 | QString Addressee::mailer() const | 1122 | QString Addressee::mailer() const |
1119 | { | 1123 | { |
1120 | return mData->mailer; | 1124 | return mData->mailer; |
1121 | } | 1125 | } |
1122 | 1126 | ||
1123 | QString Addressee::mailerLabel() | 1127 | QString Addressee::mailerLabel() |
1124 | { | 1128 | { |
1125 | return i18n("Mail Client"); | 1129 | return i18n("Mail Client"); |
1126 | } | 1130 | } |
1127 | 1131 | ||
1128 | 1132 | ||
1129 | void Addressee::setTimeZone( const TimeZone &timeZone ) | 1133 | void Addressee::setTimeZone( const TimeZone &timeZone ) |
1130 | { | 1134 | { |
1131 | if ( timeZone == mData->timeZone ) return; | 1135 | if ( timeZone == mData->timeZone ) return; |
1132 | detach(); | 1136 | detach(); |
1133 | mData->empty = false; | 1137 | mData->empty = false; |
1134 | mData->timeZone = timeZone; | 1138 | mData->timeZone = timeZone; |
1135 | } | 1139 | } |
1136 | 1140 | ||
1137 | TimeZone Addressee::timeZone() const | 1141 | TimeZone Addressee::timeZone() const |
1138 | { | 1142 | { |
1139 | return mData->timeZone; | 1143 | return mData->timeZone; |
1140 | } | 1144 | } |
1141 | 1145 | ||
1142 | QString Addressee::timeZoneLabel() | 1146 | QString Addressee::timeZoneLabel() |
1143 | { | 1147 | { |
1144 | return i18n("Time Zone"); | 1148 | return i18n("Time Zone"); |
1145 | } | 1149 | } |
1146 | 1150 | ||
1147 | 1151 | ||
1148 | void Addressee::setGeo( const Geo &geo ) | 1152 | void Addressee::setGeo( const Geo &geo ) |
1149 | { | 1153 | { |
1150 | if ( geo == mData->geo ) return; | 1154 | if ( geo == mData->geo ) return; |
1151 | detach(); | 1155 | detach(); |
1152 | mData->empty = false; | 1156 | mData->empty = false; |
1153 | mData->geo = geo; | 1157 | mData->geo = geo; |
1154 | } | 1158 | } |
1155 | 1159 | ||
1156 | Geo Addressee::geo() const | 1160 | Geo Addressee::geo() const |
1157 | { | 1161 | { |
1158 | return mData->geo; | 1162 | return mData->geo; |
1159 | } | 1163 | } |
1160 | 1164 | ||
1161 | QString Addressee::geoLabel() | 1165 | QString Addressee::geoLabel() |