Diffstat (limited to 'core/pim/addressbook/ocontactfields.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/ocontactfields.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/ocontactfields.cpp b/core/pim/addressbook/ocontactfields.cpp index df57efa..7823a9c 100644 --- a/core/pim/addressbook/ocontactfields.cpp +++ b/core/pim/addressbook/ocontactfields.cpp | |||
@@ -21,49 +21,49 @@ QStringList OContactFields::untrdetailsfields( bool sorted ) | |||
21 | list.append( "Manager" ); | 21 | list.append( "Manager" ); |
22 | list.append( "Spouse" ); | 22 | list.append( "Spouse" ); |
23 | list.append( "Gender" ); | 23 | list.append( "Gender" ); |
24 | list.append( "Birthday" ); | 24 | list.append( "Birthday" ); |
25 | list.append( "Anniversary" ); | 25 | list.append( "Anniversary" ); |
26 | list.append( "Nickname" ); | 26 | list.append( "Nickname" ); |
27 | list.append( "Children" ); | 27 | list.append( "Children" ); |
28 | 28 | ||
29 | if (sorted) list.sort(); | 29 | if (sorted) list.sort(); |
30 | 30 | ||
31 | return list; | 31 | return list; |
32 | } | 32 | } |
33 | 33 | ||
34 | /*! | 34 | /*! |
35 | \internal | 35 | \internal |
36 | Returns a translated list of phone field names for a contact. | 36 | Returns a translated list of phone field names for a contact. |
37 | */ | 37 | */ |
38 | QStringList OContactFields::trphonefields( bool sorted ) | 38 | QStringList OContactFields::trphonefields( bool sorted ) |
39 | { | 39 | { |
40 | QStringList list; | 40 | QStringList list; |
41 | list.append( QObject::tr( "Business Phone" ) ); | 41 | list.append( QObject::tr( "Business Phone" ) ); |
42 | list.append( QObject::tr( "Business Fax" ) ); | 42 | list.append( QObject::tr( "Business Fax" ) ); |
43 | list.append( QObject::tr( "Business Mobile" ) ); | 43 | list.append( QObject::tr( "Business Mobile" ) ); |
44 | 44 | ||
45 | // list.append( QObject::tr( "Default Email" ) ); | 45 | list.append( QObject::tr( "Default Email" ) ); |
46 | list.append( QObject::tr( "Emails" ) ); | 46 | list.append( QObject::tr( "Emails" ) ); |
47 | 47 | ||
48 | list.append( QObject::tr( "Home Phone" ) ); | 48 | list.append( QObject::tr( "Home Phone" ) ); |
49 | list.append( QObject::tr( "Home Fax" ) ); | 49 | list.append( QObject::tr( "Home Fax" ) ); |
50 | list.append( QObject::tr( "Home Mobile" ) ); | 50 | list.append( QObject::tr( "Home Mobile" ) ); |
51 | 51 | ||
52 | if (sorted) list.sort(); | 52 | if (sorted) list.sort(); |
53 | 53 | ||
54 | return list; | 54 | return list; |
55 | } | 55 | } |
56 | 56 | ||
57 | 57 | ||
58 | /*! | 58 | /*! |
59 | \internal | 59 | \internal |
60 | Returns a translated list of details field names for a contact. | 60 | Returns a translated list of details field names for a contact. |
61 | */ | 61 | */ |
62 | QStringList OContactFields::trdetailsfields( bool sorted ) | 62 | QStringList OContactFields::trdetailsfields( bool sorted ) |
63 | { | 63 | { |
64 | QStringList list; | 64 | QStringList list; |
65 | 65 | ||
66 | list.append( QObject::tr( "Office" ) ); | 66 | list.append( QObject::tr( "Office" ) ); |
67 | list.append( QObject::tr( "Profession" ) ); | 67 | list.append( QObject::tr( "Profession" ) ); |
68 | list.append( QObject::tr( "Assistant" ) ); | 68 | list.append( QObject::tr( "Assistant" ) ); |
69 | list.append( QObject::tr( "Manager" ) ); | 69 | list.append( QObject::tr( "Manager" ) ); |
@@ -117,49 +117,49 @@ QStringList OContactFields::trfields( bool sorted ) | |||
117 | list.append( QObject::tr( "Home Web Page" ) ); | 117 | list.append( QObject::tr( "Home Web Page" ) ); |
118 | 118 | ||
119 | list += trdetailsfields( sorted ); | 119 | list += trdetailsfields( sorted ); |
120 | 120 | ||
121 | list.append( QObject::tr( "Notes" ) ); | 121 | list.append( QObject::tr( "Notes" ) ); |
122 | list.append( QObject::tr( "Groups" ) ); | 122 | list.append( QObject::tr( "Groups" ) ); |
123 | 123 | ||
124 | if (sorted) list.sort(); | 124 | if (sorted) list.sort(); |
125 | 125 | ||
126 | return list; | 126 | return list; |
127 | } | 127 | } |
128 | 128 | ||
129 | /*! | 129 | /*! |
130 | \internal | 130 | \internal |
131 | Returns a list of phone field names for a contact. | 131 | Returns a list of phone field names for a contact. |
132 | */ | 132 | */ |
133 | QStringList OContactFields::untrphonefields( bool sorted ) | 133 | QStringList OContactFields::untrphonefields( bool sorted ) |
134 | { | 134 | { |
135 | QStringList list; | 135 | QStringList list; |
136 | 136 | ||
137 | list.append( "Business Phone" ); | 137 | list.append( "Business Phone" ); |
138 | list.append( "Business Fax" ); | 138 | list.append( "Business Fax" ); |
139 | list.append( "Business Mobile" ); | 139 | list.append( "Business Mobile" ); |
140 | 140 | ||
141 | // list.append( "Default Email" ); | 141 | list.append( "Default Email" ); |
142 | list.append( "Emails" ); | 142 | list.append( "Emails" ); |
143 | 143 | ||
144 | list.append( "Home Phone" ); | 144 | list.append( "Home Phone" ); |
145 | list.append( "Home Fax" ); | 145 | list.append( "Home Fax" ); |
146 | list.append( "Home Mobile" ); | 146 | list.append( "Home Mobile" ); |
147 | 147 | ||
148 | if (sorted) list.sort(); | 148 | if (sorted) list.sort(); |
149 | 149 | ||
150 | return list; | 150 | return list; |
151 | } | 151 | } |
152 | 152 | ||
153 | /*! | 153 | /*! |
154 | \internal | 154 | \internal |
155 | Returns an untranslated list of field names for a contact. | 155 | Returns an untranslated list of field names for a contact. |
156 | */ | 156 | */ |
157 | QStringList OContactFields::untrfields( bool sorted ) | 157 | QStringList OContactFields::untrfields( bool sorted ) |
158 | { | 158 | { |
159 | QStringList list; | 159 | QStringList list; |
160 | 160 | ||
161 | list.append( "Name Title" ); | 161 | list.append( "Name Title" ); |
162 | list.append( "First Name" ); | 162 | list.append( "First Name" ); |
163 | list.append( "Middle Name" ); | 163 | list.append( "Middle Name" ); |
164 | list.append( "Last Name" ); | 164 | list.append( "Last Name" ); |
165 | list.append( "Suffix" ); | 165 | list.append( "Suffix" ); |