author | zautrix <zautrix> | 2005-10-28 21:15:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-28 21:15:00 (UTC) |
commit | 85d2ea5c17a2b2c7a4ae4dd954bc635a56239b57 (patch) (unidiff) | |
tree | 8628f5cef407eaeee2d8b893f82d296d5dcd4787 /kabc/addressee.cpp | |
parent | 16e87ac5b81352c51343715cf1080191aaba9611 (diff) | |
download | kdepimpi-85d2ea5c17a2b2c7a4ae4dd954bc635a56239b57.zip kdepimpi-85d2ea5c17a2b2c7a4ae4dd954bc635a56239b57.tar.gz kdepimpi-85d2ea5c17a2b2c7a4ae4dd954bc635a56239b57.tar.bz2 |
fixx
-rw-r--r-- | kabc/addressee.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index 0d8e8e8..2f4a9af 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp | |||
@@ -994,158 +994,148 @@ QString Addressee::homeAddressPostalCodeLabel() | |||
994 | 994 | ||
995 | 995 | ||
996 | QString Addressee::homeAddressCountryLabel() | 996 | QString Addressee::homeAddressCountryLabel() |
997 | { | 997 | { |
998 | return i18n("Home Address Country"); | 998 | return i18n("Home Address Country"); |
999 | } | 999 | } |
1000 | 1000 | ||
1001 | 1001 | ||
1002 | QString Addressee::homeAddressLabelLabel() | 1002 | QString Addressee::homeAddressLabelLabel() |
1003 | { | 1003 | { |
1004 | return i18n("Home Address Label"); | 1004 | return i18n("Home Address Label"); |
1005 | } | 1005 | } |
1006 | 1006 | ||
1007 | 1007 | ||
1008 | QString Addressee::businessAddressStreetLabel() | 1008 | QString Addressee::businessAddressStreetLabel() |
1009 | { | 1009 | { |
1010 | return i18n("Business Address Street"); | 1010 | return i18n("Business Address Street"); |
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | 1013 | ||
1014 | QString Addressee::businessAddressLocalityLabel() | 1014 | QString Addressee::businessAddressLocalityLabel() |
1015 | { | 1015 | { |
1016 | return i18n("Business Address Locality"); | 1016 | return i18n("Business Address Locality"); |
1017 | } | 1017 | } |
1018 | 1018 | ||
1019 | 1019 | ||
1020 | QString Addressee::businessAddressRegionLabel() | 1020 | QString Addressee::businessAddressRegionLabel() |
1021 | { | 1021 | { |
1022 | return i18n("Business Address Region"); | 1022 | return i18n("Business Address Region"); |
1023 | } | 1023 | } |
1024 | 1024 | ||
1025 | 1025 | ||
1026 | QString Addressee::businessAddressPostalCodeLabel() | 1026 | QString Addressee::businessAddressPostalCodeLabel() |
1027 | { | 1027 | { |
1028 | return i18n("Business Address Postal Code"); | 1028 | return i18n("Business Address Postal Code"); |
1029 | } | 1029 | } |
1030 | 1030 | ||
1031 | 1031 | ||
1032 | QString Addressee::businessAddressCountryLabel() | 1032 | QString Addressee::businessAddressCountryLabel() |
1033 | { | 1033 | { |
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"); |
1059 | } | 1059 | } |
1060 | QString Addressee::mobileWorkPhoneLabel() | 1060 | QString Addressee::mobileWorkPhoneLabel() |
1061 | { | 1061 | { |
1062 | return i18n("Mobile2 (Work)"); | 1062 | return i18n("Mobile2"); |
1063 | } | ||
1064 | QString Addressee::mobileHomePhoneLabel() | ||
1065 | { | ||
1066 | return i18n("Mobile (Home)"); | ||
1067 | } | 1063 | } |
1068 | 1064 | ||
1069 | 1065 | ||
1070 | QString Addressee::homeFaxLabel() | 1066 | QString Addressee::homeFaxLabel() |
1071 | { | 1067 | { |
1072 | return i18n("Fax (Home)"); | 1068 | return i18n("Fax (Home)"); |
1073 | } | 1069 | } |
1074 | 1070 | ||
1075 | 1071 | ||
1076 | QString Addressee::businessFaxLabel() | 1072 | QString Addressee::businessFaxLabel() |
1077 | { | 1073 | { |
1078 | return i18n("Fax (Work)"); | 1074 | return i18n("Fax (Work)"); |
1079 | } | 1075 | } |
1080 | 1076 | ||
1081 | 1077 | ||
1082 | QString Addressee::carPhoneLabel() | ||
1083 | { | ||
1084 | return i18n("Mobile2 (Car)"); | ||
1085 | } | ||
1086 | |||
1087 | |||
1088 | QString Addressee::isdnLabel() | 1078 | QString Addressee::isdnLabel() |
1089 | { | 1079 | { |
1090 | return i18n("ISDN"); | 1080 | return i18n("ISDN"); |
1091 | } | 1081 | } |
1092 | 1082 | ||
1093 | 1083 | ||
1094 | QString Addressee::pagerLabel() | 1084 | QString Addressee::pagerLabel() |
1095 | { | 1085 | { |
1096 | return i18n("Pager"); | 1086 | return i18n("Pager"); |
1097 | } | 1087 | } |
1098 | QString Addressee::otherPhoneLabel() | 1088 | QString Addressee::otherPhoneLabel() |
1099 | { | 1089 | { |
1100 | return i18n("Other Phone"); | 1090 | return i18n("Other Phone"); |
1101 | } | 1091 | } |
1102 | 1092 | ||
1103 | QString Addressee::sipLabel() | 1093 | QString Addressee::sipLabel() |
1104 | { | 1094 | { |
1105 | return i18n("SIP"); | 1095 | return i18n("SIP"); |
1106 | } | 1096 | } |
1107 | 1097 | ||
1108 | QString Addressee::emailLabel() | 1098 | QString Addressee::emailLabel() |
1109 | { | 1099 | { |
1110 | return i18n("Email Address"); | 1100 | return i18n("Email Address"); |
1111 | } | 1101 | } |
1112 | 1102 | ||
1113 | 1103 | ||
1114 | void Addressee::setMailer( const QString &mailer ) | 1104 | void Addressee::setMailer( const QString &mailer ) |
1115 | { | 1105 | { |
1116 | if ( mailer == mData->mailer ) return; | 1106 | if ( mailer == mData->mailer ) return; |
1117 | detach(); | 1107 | detach(); |
1118 | mData->empty = false; | 1108 | mData->empty = false; |
1119 | mData->mailer = mailer; | 1109 | mData->mailer = mailer; |
1120 | } | 1110 | } |
1121 | 1111 | ||
1122 | QString Addressee::mailer() const | 1112 | QString Addressee::mailer() const |
1123 | { | 1113 | { |
1124 | return mData->mailer; | 1114 | return mData->mailer; |
1125 | } | 1115 | } |
1126 | 1116 | ||
1127 | QString Addressee::mailerLabel() | 1117 | QString Addressee::mailerLabel() |
1128 | { | 1118 | { |
1129 | return i18n("Mail Client"); | 1119 | return i18n("Mail Client"); |
1130 | } | 1120 | } |
1131 | 1121 | ||
1132 | 1122 | ||
1133 | void Addressee::setTimeZone( const TimeZone &timeZone ) | 1123 | void Addressee::setTimeZone( const TimeZone &timeZone ) |
1134 | { | 1124 | { |
1135 | if ( timeZone == mData->timeZone ) return; | 1125 | if ( timeZone == mData->timeZone ) return; |
1136 | detach(); | 1126 | detach(); |
1137 | mData->empty = false; | 1127 | mData->empty = false; |
1138 | mData->timeZone = timeZone; | 1128 | mData->timeZone = timeZone; |
1139 | } | 1129 | } |
1140 | 1130 | ||
1141 | TimeZone Addressee::timeZone() const | 1131 | TimeZone Addressee::timeZone() const |
1142 | { | 1132 | { |
1143 | return mData->timeZone; | 1133 | return mData->timeZone; |
1144 | } | 1134 | } |
1145 | 1135 | ||
1146 | QString Addressee::timeZoneLabel() | 1136 | QString Addressee::timeZoneLabel() |
1147 | { | 1137 | { |
1148 | return i18n("Time Zone"); | 1138 | return i18n("Time Zone"); |
1149 | } | 1139 | } |
1150 | 1140 | ||
1151 | 1141 | ||