author | eilers <eilers> | 2002-10-02 16:19:17 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-02 16:19:17 (UTC) |
commit | 2dda45373002520ad063233b544f5e5ae057bb28 (patch) (unidiff) | |
tree | 9545510d85bb6844aa6de24529e32ba051a007c0 | |
parent | 1400bbe439c47f0bd168d602d961235c638a861b (diff) | |
download | opie-2dda45373002520ad063233b544f5e5ae057bb28.zip opie-2dda45373002520ad063233b544f5e5ae057bb28.tar.gz opie-2dda45373002520ad063233b544f5e5ae057bb28.tar.bz2 |
Included relative path to avoid external symbolic links
-rw-r--r-- | libopie/pim/ocontact.cpp | 4 | ||||
-rw-r--r-- | libopie2/opiepim/ocontact.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index 828a9de..a63753e 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp | |||
@@ -1,409 +1,409 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QTOPIA_INTERNAL_CONTACT_MRE | 21 | #define QTOPIA_INTERNAL_CONTACT_MRE |
22 | 22 | ||
23 | #include "ocontact.h" | 23 | #include "ocontact.h" |
24 | #include "vobject_p.h" | 24 | #include "../../library/backend/vobject_p.h" |
25 | #include "qfiledirect_p.h" | 25 | #include "../../library/backend/qfiledirect_p.h" |
26 | 26 | ||
27 | #include <qpe/stringutil.h> | 27 | #include <qpe/stringutil.h> |
28 | #include <qpe/timeconversion.h> | 28 | #include <qpe/timeconversion.h> |
29 | 29 | ||
30 | #include <qobject.h> | 30 | #include <qobject.h> |
31 | #include <qregexp.h> | 31 | #include <qregexp.h> |
32 | #include <qstylesheet.h> | 32 | #include <qstylesheet.h> |
33 | #include <qfileinfo.h> | 33 | #include <qfileinfo.h> |
34 | #include <qmap.h> | 34 | #include <qmap.h> |
35 | 35 | ||
36 | #include <stdio.h> | 36 | #include <stdio.h> |
37 | 37 | ||
38 | /*! | 38 | /*! |
39 | \class Contact contact.h | 39 | \class Contact contact.h |
40 | \brief The Contact class holds the data of an address book entry. | 40 | \brief The Contact class holds the data of an address book entry. |
41 | 41 | ||
42 | This data includes information the name of the person, contact | 42 | This data includes information the name of the person, contact |
43 | information, and business information such as deparment and job title. | 43 | information, and business information such as deparment and job title. |
44 | 44 | ||
45 | \ingroup qtopiaemb | 45 | \ingroup qtopiaemb |
46 | \ingroup qtopiadesktop | 46 | \ingroup qtopiadesktop |
47 | */ | 47 | */ |
48 | 48 | ||
49 | Qtopia::UidGen OContact::sUidGen( Qtopia::UidGen::Qtopia ); | 49 | Qtopia::UidGen OContact::sUidGen( Qtopia::UidGen::Qtopia ); |
50 | 50 | ||
51 | /*! | 51 | /*! |
52 | Creates a new, empty contact. | 52 | Creates a new, empty contact. |
53 | */ | 53 | */ |
54 | OContact::OContact() | 54 | OContact::OContact() |
55 | : OPimRecord(), mMap(), d( 0 ) | 55 | : OPimRecord(), mMap(), d( 0 ) |
56 | { | 56 | { |
57 | } | 57 | } |
58 | 58 | ||
59 | /*! | 59 | /*! |
60 | \internal | 60 | \internal |
61 | Creates a new contact. The properties of the contact are | 61 | Creates a new contact. The properties of the contact are |
62 | set from \a fromMap. | 62 | set from \a fromMap. |
63 | */ | 63 | */ |
64 | OContact::OContact( const QMap<int, QString> &fromMap ) : | 64 | OContact::OContact( const QMap<int, QString> &fromMap ) : |
65 | OPimRecord(), mMap( fromMap ), d( 0 ) | 65 | OPimRecord(), mMap( fromMap ), d( 0 ) |
66 | { | 66 | { |
67 | QString cats = mMap[ Qtopia::AddressCategory ]; | 67 | QString cats = mMap[ Qtopia::AddressCategory ]; |
68 | if ( !cats.isEmpty() ) | 68 | if ( !cats.isEmpty() ) |
69 | setCategories( idsFromString( cats ) ); | 69 | setCategories( idsFromString( cats ) ); |
70 | QString uidStr = find( Qtopia::AddressUid ); | 70 | QString uidStr = find( Qtopia::AddressUid ); |
71 | 71 | ||
72 | if ( uidStr.isEmpty() ) | 72 | if ( uidStr.isEmpty() ) |
73 | setUid( uidGen().generate() ); | 73 | setUid( uidGen().generate() ); |
74 | else | 74 | else |
75 | setUid( uidStr.toInt() ); | 75 | setUid( uidStr.toInt() ); |
76 | 76 | ||
77 | if ( !uidStr.isEmpty() ) | 77 | if ( !uidStr.isEmpty() ) |
78 | setUid( uidStr.toInt() ); | 78 | setUid( uidStr.toInt() ); |
79 | } | 79 | } |
80 | 80 | ||
81 | /*! | 81 | /*! |
82 | Destroys a contact. | 82 | Destroys a contact. |
83 | */ | 83 | */ |
84 | OContact::~OContact() | 84 | OContact::~OContact() |
85 | { | 85 | { |
86 | } | 86 | } |
87 | 87 | ||
88 | /*! \fn void OContact::setTitle( const QString &str ) | 88 | /*! \fn void OContact::setTitle( const QString &str ) |
89 | Sets the title of the contact to \a str. | 89 | Sets the title of the contact to \a str. |
90 | */ | 90 | */ |
91 | 91 | ||
92 | /*! \fn void OContact::setFirstName( const QString &str ) | 92 | /*! \fn void OContact::setFirstName( const QString &str ) |
93 | Sets the first name of the contact to \a str. | 93 | Sets the first name of the contact to \a str. |
94 | */ | 94 | */ |
95 | 95 | ||
96 | /*! \fn void OContact::setMiddleName( const QString &str ) | 96 | /*! \fn void OContact::setMiddleName( const QString &str ) |
97 | Sets the middle name of the contact to \a str. | 97 | Sets the middle name of the contact to \a str. |
98 | */ | 98 | */ |
99 | 99 | ||
100 | /*! \fn void OContact::setLastName( const QString &str ) | 100 | /*! \fn void OContact::setLastName( const QString &str ) |
101 | Sets the last name of the contact to \a str. | 101 | Sets the last name of the contact to \a str. |
102 | */ | 102 | */ |
103 | 103 | ||
104 | /*! \fn void OContact::setSuffix( const QString &str ) | 104 | /*! \fn void OContact::setSuffix( const QString &str ) |
105 | Sets the suffix of the contact to \a str. | 105 | Sets the suffix of the contact to \a str. |
106 | */ | 106 | */ |
107 | 107 | ||
108 | /*! \fn void OContact::setFileAs( const QString &str ) | 108 | /*! \fn void OContact::setFileAs( const QString &str ) |
109 | Sets the contact to filed as \a str. | 109 | Sets the contact to filed as \a str. |
110 | */ | 110 | */ |
111 | 111 | ||
112 | /*! \fn void OContact::setDefaultEmail( const QString &str ) | 112 | /*! \fn void OContact::setDefaultEmail( const QString &str ) |
113 | Sets the default email of the contact to \a str. | 113 | Sets the default email of the contact to \a str. |
114 | */ | 114 | */ |
115 | 115 | ||
116 | /*! \fn void OContact::setHomeStreet( const QString &str ) | 116 | /*! \fn void OContact::setHomeStreet( const QString &str ) |
117 | Sets the home street address of the contact to \a str. | 117 | Sets the home street address of the contact to \a str. |
118 | */ | 118 | */ |
119 | 119 | ||
120 | /*! \fn void OContact::setHomeCity( const QString &str ) | 120 | /*! \fn void OContact::setHomeCity( const QString &str ) |
121 | Sets the home city of the contact to \a str. | 121 | Sets the home city of the contact to \a str. |
122 | */ | 122 | */ |
123 | 123 | ||
124 | /*! \fn void OContact::setHomeState( const QString &str ) | 124 | /*! \fn void OContact::setHomeState( const QString &str ) |
125 | Sets the home state of the contact to \a str. | 125 | Sets the home state of the contact to \a str. |
126 | */ | 126 | */ |
127 | 127 | ||
128 | /*! \fn void OContact::setHomeZip( const QString &str ) | 128 | /*! \fn void OContact::setHomeZip( const QString &str ) |
129 | Sets the home zip code of the contact to \a str. | 129 | Sets the home zip code of the contact to \a str. |
130 | */ | 130 | */ |
131 | 131 | ||
132 | /*! \fn void OContact::setHomeCountry( const QString &str ) | 132 | /*! \fn void OContact::setHomeCountry( const QString &str ) |
133 | Sets the home country of the contact to \a str. | 133 | Sets the home country of the contact to \a str. |
134 | */ | 134 | */ |
135 | 135 | ||
136 | /*! \fn void OContact::setHomePhone( const QString &str ) | 136 | /*! \fn void OContact::setHomePhone( const QString &str ) |
137 | Sets the home phone number of the contact to \a str. | 137 | Sets the home phone number of the contact to \a str. |
138 | */ | 138 | */ |
139 | 139 | ||
140 | /*! \fn void OContact::setHomeFax( const QString &str ) | 140 | /*! \fn void OContact::setHomeFax( const QString &str ) |
141 | Sets the home fax number of the contact to \a str. | 141 | Sets the home fax number of the contact to \a str. |
142 | */ | 142 | */ |
143 | 143 | ||
144 | /*! \fn void OContact::setHomeMobile( const QString &str ) | 144 | /*! \fn void OContact::setHomeMobile( const QString &str ) |
145 | Sets the home mobile phone number of the contact to \a str. | 145 | Sets the home mobile phone number of the contact to \a str. |
146 | */ | 146 | */ |
147 | 147 | ||
148 | /*! \fn void OContact::setHomeWebpage( const QString &str ) | 148 | /*! \fn void OContact::setHomeWebpage( const QString &str ) |
149 | Sets the home webpage of the contact to \a str. | 149 | Sets the home webpage of the contact to \a str. |
150 | */ | 150 | */ |
151 | 151 | ||
152 | /*! \fn void OContact::setCompany( const QString &str ) | 152 | /*! \fn void OContact::setCompany( const QString &str ) |
153 | Sets the company for contact to \a str. | 153 | Sets the company for contact to \a str. |
154 | */ | 154 | */ |
155 | 155 | ||
156 | /*! \fn void OContact::setJobTitle( const QString &str ) | 156 | /*! \fn void OContact::setJobTitle( const QString &str ) |
157 | Sets the job title of the contact to \a str. | 157 | Sets the job title of the contact to \a str. |
158 | */ | 158 | */ |
159 | 159 | ||
160 | /*! \fn void OContact::setDepartment( const QString &str ) | 160 | /*! \fn void OContact::setDepartment( const QString &str ) |
161 | Sets the department for contact to \a str. | 161 | Sets the department for contact to \a str. |
162 | */ | 162 | */ |
163 | 163 | ||
164 | /*! \fn void OContact::setOffice( const QString &str ) | 164 | /*! \fn void OContact::setOffice( const QString &str ) |
165 | Sets the office for contact to \a str. | 165 | Sets the office for contact to \a str. |
166 | */ | 166 | */ |
167 | 167 | ||
168 | /*! \fn void OContact::setBusinessStreet( const QString &str ) | 168 | /*! \fn void OContact::setBusinessStreet( const QString &str ) |
169 | Sets the business street address of the contact to \a str. | 169 | Sets the business street address of the contact to \a str. |
170 | */ | 170 | */ |
171 | 171 | ||
172 | /*! \fn void OContact::setBusinessCity( const QString &str ) | 172 | /*! \fn void OContact::setBusinessCity( const QString &str ) |
173 | Sets the business city of the contact to \a str. | 173 | Sets the business city of the contact to \a str. |
174 | */ | 174 | */ |
175 | 175 | ||
176 | /*! \fn void OContact::setBusinessState( const QString &str ) | 176 | /*! \fn void OContact::setBusinessState( const QString &str ) |
177 | Sets the business state of the contact to \a str. | 177 | Sets the business state of the contact to \a str. |
178 | */ | 178 | */ |
179 | 179 | ||
180 | /*! \fn void OContact::setBusinessZip( const QString &str ) | 180 | /*! \fn void OContact::setBusinessZip( const QString &str ) |
181 | Sets the business zip code of the contact to \a str. | 181 | Sets the business zip code of the contact to \a str. |
182 | */ | 182 | */ |
183 | 183 | ||
184 | /*! \fn void OContact::setBusinessCountry( const QString &str ) | 184 | /*! \fn void OContact::setBusinessCountry( const QString &str ) |
185 | Sets the business country of the contact to \a str. | 185 | Sets the business country of the contact to \a str. |
186 | */ | 186 | */ |
187 | 187 | ||
188 | /*! \fn void OContact::setBusinessPhone( const QString &str ) | 188 | /*! \fn void OContact::setBusinessPhone( const QString &str ) |
189 | Sets the business phone number of the contact to \a str. | 189 | Sets the business phone number of the contact to \a str. |
190 | */ | 190 | */ |
191 | 191 | ||
192 | /*! \fn void OContact::setBusinessFax( const QString &str ) | 192 | /*! \fn void OContact::setBusinessFax( const QString &str ) |
193 | Sets the business fax number of the contact to \a str. | 193 | Sets the business fax number of the contact to \a str. |
194 | */ | 194 | */ |
195 | 195 | ||
196 | /*! \fn void OContact::setBusinessMobile( const QString &str ) | 196 | /*! \fn void OContact::setBusinessMobile( const QString &str ) |
197 | Sets the business mobile phone number of the contact to \a str. | 197 | Sets the business mobile phone number of the contact to \a str. |
198 | */ | 198 | */ |
199 | 199 | ||
200 | /*! \fn void OContact::setBusinessPager( const QString &str ) | 200 | /*! \fn void OContact::setBusinessPager( const QString &str ) |
201 | Sets the business pager number of the contact to \a str. | 201 | Sets the business pager number of the contact to \a str. |
202 | */ | 202 | */ |
203 | 203 | ||
204 | /*! \fn void OContact::setBusinessWebpage( const QString &str ) | 204 | /*! \fn void OContact::setBusinessWebpage( const QString &str ) |
205 | Sets the business webpage of the contact to \a str. | 205 | Sets the business webpage of the contact to \a str. |
206 | */ | 206 | */ |
207 | 207 | ||
208 | /*! \fn void OContact::setProfession( const QString &str ) | 208 | /*! \fn void OContact::setProfession( const QString &str ) |
209 | Sets the profession of the contact to \a str. | 209 | Sets the profession of the contact to \a str. |
210 | */ | 210 | */ |
211 | 211 | ||
212 | /*! \fn void OContact::setAssistant( const QString &str ) | 212 | /*! \fn void OContact::setAssistant( const QString &str ) |
213 | Sets the assistant of the contact to \a str. | 213 | Sets the assistant of the contact to \a str. |
214 | */ | 214 | */ |
215 | 215 | ||
216 | /*! \fn void OContact::setManager( const QString &str ) | 216 | /*! \fn void OContact::setManager( const QString &str ) |
217 | Sets the manager of the contact to \a str. | 217 | Sets the manager of the contact to \a str. |
218 | */ | 218 | */ |
219 | 219 | ||
220 | /*! \fn void OContact::setSpouse( const QString &str ) | 220 | /*! \fn void OContact::setSpouse( const QString &str ) |
221 | Sets the spouse of the contact to \a str. | 221 | Sets the spouse of the contact to \a str. |
222 | */ | 222 | */ |
223 | 223 | ||
224 | /*! \fn void OContact::setGender( const QString &str ) | 224 | /*! \fn void OContact::setGender( const QString &str ) |
225 | Sets the gender of the contact to \a str. | 225 | Sets the gender of the contact to \a str. |
226 | */ | 226 | */ |
227 | 227 | ||
228 | /*! \fn void OContact::setBirthday( const QString &str ) | 228 | /*! \fn void OContact::setBirthday( const QString &str ) |
229 | Sets the birthday for the contact to \a str. | 229 | Sets the birthday for the contact to \a str. |
230 | */ | 230 | */ |
231 | 231 | ||
232 | /*! \fn void OContact::setAnniversary( const QString &str ) | 232 | /*! \fn void OContact::setAnniversary( const QString &str ) |
233 | Sets the anniversary of the contact to \a str. | 233 | Sets the anniversary of the contact to \a str. |
234 | */ | 234 | */ |
235 | 235 | ||
236 | /*! \fn void OContact::setNickname( const QString &str ) | 236 | /*! \fn void OContact::setNickname( const QString &str ) |
237 | Sets the nickname of the contact to \a str. | 237 | Sets the nickname of the contact to \a str. |
238 | */ | 238 | */ |
239 | 239 | ||
240 | /*! \fn void OContact::setNotes( const QString &str ) | 240 | /*! \fn void OContact::setNotes( const QString &str ) |
241 | Sets the notes about the contact to \a str. | 241 | Sets the notes about the contact to \a str. |
242 | */ | 242 | */ |
243 | 243 | ||
244 | /*! \fn QString OContact::title() const | 244 | /*! \fn QString OContact::title() const |
245 | Returns the title of the contact. | 245 | Returns the title of the contact. |
246 | */ | 246 | */ |
247 | 247 | ||
248 | /*! \fn QString OContact::firstName() const | 248 | /*! \fn QString OContact::firstName() const |
249 | Returns the first name of the contact. | 249 | Returns the first name of the contact. |
250 | */ | 250 | */ |
251 | 251 | ||
252 | /*! \fn QString OContact::middleName() const | 252 | /*! \fn QString OContact::middleName() const |
253 | Returns the middle name of the contact. | 253 | Returns the middle name of the contact. |
254 | */ | 254 | */ |
255 | 255 | ||
256 | /*! \fn QString OContact::lastName() const | 256 | /*! \fn QString OContact::lastName() const |
257 | Returns the last name of the contact. | 257 | Returns the last name of the contact. |
258 | */ | 258 | */ |
259 | 259 | ||
260 | /*! \fn QString OContact::suffix() const | 260 | /*! \fn QString OContact::suffix() const |
261 | Returns the suffix of the contact. | 261 | Returns the suffix of the contact. |
262 | */ | 262 | */ |
263 | 263 | ||
264 | /*! \fn QString OContact::fileAs() const | 264 | /*! \fn QString OContact::fileAs() const |
265 | Returns the string the contact is filed as. | 265 | Returns the string the contact is filed as. |
266 | */ | 266 | */ |
267 | 267 | ||
268 | /*! \fn QString OContact::defaultEmail() const | 268 | /*! \fn QString OContact::defaultEmail() const |
269 | Returns the default email address of the contact. | 269 | Returns the default email address of the contact. |
270 | */ | 270 | */ |
271 | 271 | ||
272 | /*! \fn QString OContact::emails() const | 272 | /*! \fn QString OContact::emails() const |
273 | Returns the list of email address for a contact separated by ';'s in a single | 273 | Returns the list of email address for a contact separated by ';'s in a single |
274 | string. | 274 | string. |
275 | */ | 275 | */ |
276 | 276 | ||
277 | /*! \fn QString OContact::homeStreet() const | 277 | /*! \fn QString OContact::homeStreet() const |
278 | Returns the home street address of the contact. | 278 | Returns the home street address of the contact. |
279 | */ | 279 | */ |
280 | 280 | ||
281 | /*! \fn QString OContact::homeCity() const | 281 | /*! \fn QString OContact::homeCity() const |
282 | Returns the home city of the contact. | 282 | Returns the home city of the contact. |
283 | */ | 283 | */ |
284 | 284 | ||
285 | /*! \fn QString OContact::homeState() const | 285 | /*! \fn QString OContact::homeState() const |
286 | Returns the home state of the contact. | 286 | Returns the home state of the contact. |
287 | */ | 287 | */ |
288 | 288 | ||
289 | /*! \fn QString OContact::homeZip() const | 289 | /*! \fn QString OContact::homeZip() const |
290 | Returns the home zip of the contact. | 290 | Returns the home zip of the contact. |
291 | */ | 291 | */ |
292 | 292 | ||
293 | /*! \fn QString OContact::homeCountry() const | 293 | /*! \fn QString OContact::homeCountry() const |
294 | Returns the home country of the contact. | 294 | Returns the home country of the contact. |
295 | */ | 295 | */ |
296 | 296 | ||
297 | /*! \fn QString OContact::homePhone() const | 297 | /*! \fn QString OContact::homePhone() const |
298 | Returns the home phone number of the contact. | 298 | Returns the home phone number of the contact. |
299 | */ | 299 | */ |
300 | 300 | ||
301 | /*! \fn QString OContact::homeFax() const | 301 | /*! \fn QString OContact::homeFax() const |
302 | Returns the home fax number of the contact. | 302 | Returns the home fax number of the contact. |
303 | */ | 303 | */ |
304 | 304 | ||
305 | /*! \fn QString OContact::homeMobile() const | 305 | /*! \fn QString OContact::homeMobile() const |
306 | Returns the home mobile number of the contact. | 306 | Returns the home mobile number of the contact. |
307 | */ | 307 | */ |
308 | 308 | ||
309 | /*! \fn QString OContact::homeWebpage() const | 309 | /*! \fn QString OContact::homeWebpage() const |
310 | Returns the home webpage of the contact. | 310 | Returns the home webpage of the contact. |
311 | */ | 311 | */ |
312 | 312 | ||
313 | /*! \fn QString OContact::company() const | 313 | /*! \fn QString OContact::company() const |
314 | Returns the company for the contact. | 314 | Returns the company for the contact. |
315 | */ | 315 | */ |
316 | 316 | ||
317 | /*! \fn QString OContact::department() const | 317 | /*! \fn QString OContact::department() const |
318 | Returns the department for the contact. | 318 | Returns the department for the contact. |
319 | */ | 319 | */ |
320 | 320 | ||
321 | /*! \fn QString OContact::office() const | 321 | /*! \fn QString OContact::office() const |
322 | Returns the office for the contact. | 322 | Returns the office for the contact. |
323 | */ | 323 | */ |
324 | 324 | ||
325 | /*! \fn QString OContact::jobTitle() const | 325 | /*! \fn QString OContact::jobTitle() const |
326 | Returns the job title of the contact. | 326 | Returns the job title of the contact. |
327 | */ | 327 | */ |
328 | 328 | ||
329 | /*! \fn QString OContact::profession() const | 329 | /*! \fn QString OContact::profession() const |
330 | Returns the profession of the contact. | 330 | Returns the profession of the contact. |
331 | */ | 331 | */ |
332 | 332 | ||
333 | /*! \fn QString OContact::assistant() const | 333 | /*! \fn QString OContact::assistant() const |
334 | Returns the assistant of the contact. | 334 | Returns the assistant of the contact. |
335 | */ | 335 | */ |
336 | 336 | ||
337 | /*! \fn QString OContact::manager() const | 337 | /*! \fn QString OContact::manager() const |
338 | Returns the manager of the contact. | 338 | Returns the manager of the contact. |
339 | */ | 339 | */ |
340 | 340 | ||
341 | /*! \fn QString OContact::businessStreet() const | 341 | /*! \fn QString OContact::businessStreet() const |
342 | Returns the business street address of the contact. | 342 | Returns the business street address of the contact. |
343 | */ | 343 | */ |
344 | 344 | ||
345 | /*! \fn QString OContact::businessCity() const | 345 | /*! \fn QString OContact::businessCity() const |
346 | Returns the business city of the contact. | 346 | Returns the business city of the contact. |
347 | */ | 347 | */ |
348 | 348 | ||
349 | /*! \fn QString OContact::businessState() const | 349 | /*! \fn QString OContact::businessState() const |
350 | Returns the business state of the contact. | 350 | Returns the business state of the contact. |
351 | */ | 351 | */ |
352 | 352 | ||
353 | /*! \fn QString OContact::businessZip() const | 353 | /*! \fn QString OContact::businessZip() const |
354 | Returns the business zip of the contact. | 354 | Returns the business zip of the contact. |
355 | */ | 355 | */ |
356 | 356 | ||
357 | /*! \fn QString OContact::businessCountry() const | 357 | /*! \fn QString OContact::businessCountry() const |
358 | Returns the business country of the contact. | 358 | Returns the business country of the contact. |
359 | */ | 359 | */ |
360 | 360 | ||
361 | /*! \fn QString OContact::businessPhone() const | 361 | /*! \fn QString OContact::businessPhone() const |
362 | Returns the business phone number of the contact. | 362 | Returns the business phone number of the contact. |
363 | */ | 363 | */ |
364 | 364 | ||
365 | /*! \fn QString OContact::businessFax() const | 365 | /*! \fn QString OContact::businessFax() const |
366 | Returns the business fax number of the contact. | 366 | Returns the business fax number of the contact. |
367 | */ | 367 | */ |
368 | 368 | ||
369 | /*! \fn QString OContact::businessMobile() const | 369 | /*! \fn QString OContact::businessMobile() const |
370 | Returns the business mobile number of the contact. | 370 | Returns the business mobile number of the contact. |
371 | */ | 371 | */ |
372 | 372 | ||
373 | /*! \fn QString OContact::businessPager() const | 373 | /*! \fn QString OContact::businessPager() const |
374 | Returns the business pager number of the contact. | 374 | Returns the business pager number of the contact. |
375 | */ | 375 | */ |
376 | 376 | ||
377 | /*! \fn QString OContact::businessWebpage() const | 377 | /*! \fn QString OContact::businessWebpage() const |
378 | Returns the business webpage of the contact. | 378 | Returns the business webpage of the contact. |
379 | */ | 379 | */ |
380 | 380 | ||
381 | /*! \fn QString OContact::spouse() const | 381 | /*! \fn QString OContact::spouse() const |
382 | Returns the spouse of the contact. | 382 | Returns the spouse of the contact. |
383 | */ | 383 | */ |
384 | 384 | ||
385 | /*! \fn QString OContact::gender() const | 385 | /*! \fn QString OContact::gender() const |
386 | Returns the gender of the contact. | 386 | Returns the gender of the contact. |
387 | */ | 387 | */ |
388 | 388 | ||
389 | /*! \fn QString OContact::birthday() const | 389 | /*! \fn QString OContact::birthday() const |
390 | Returns the birthday of the contact. | 390 | Returns the birthday of the contact. |
391 | */ | 391 | */ |
392 | 392 | ||
393 | /*! \fn QString OContact::anniversary() const | 393 | /*! \fn QString OContact::anniversary() const |
394 | Returns the anniversary of the contact. | 394 | Returns the anniversary of the contact. |
395 | */ | 395 | */ |
396 | 396 | ||
397 | /*! \fn QString OContact::nickname() const | 397 | /*! \fn QString OContact::nickname() const |
398 | Returns the nickname of the contact. | 398 | Returns the nickname of the contact. |
399 | */ | 399 | */ |
400 | 400 | ||
401 | /*! \fn QString OContact::children() const | 401 | /*! \fn QString OContact::children() const |
402 | Returns the children of the contact. | 402 | Returns the children of the contact. |
403 | */ | 403 | */ |
404 | 404 | ||
405 | /*! \fn QString OContact::notes() const | 405 | /*! \fn QString OContact::notes() const |
406 | Returns the notes relating to the the contact. | 406 | Returns the notes relating to the the contact. |
407 | */ | 407 | */ |
408 | 408 | ||
409 | /*! \fn QString OContact::groups() const | 409 | /*! \fn QString OContact::groups() const |
diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp index 828a9de..a63753e 100644 --- a/libopie2/opiepim/ocontact.cpp +++ b/libopie2/opiepim/ocontact.cpp | |||
@@ -1,409 +1,409 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QTOPIA_INTERNAL_CONTACT_MRE | 21 | #define QTOPIA_INTERNAL_CONTACT_MRE |
22 | 22 | ||
23 | #include "ocontact.h" | 23 | #include "ocontact.h" |
24 | #include "vobject_p.h" | 24 | #include "../../library/backend/vobject_p.h" |
25 | #include "qfiledirect_p.h" | 25 | #include "../../library/backend/qfiledirect_p.h" |
26 | 26 | ||
27 | #include <qpe/stringutil.h> | 27 | #include <qpe/stringutil.h> |
28 | #include <qpe/timeconversion.h> | 28 | #include <qpe/timeconversion.h> |
29 | 29 | ||
30 | #include <qobject.h> | 30 | #include <qobject.h> |
31 | #include <qregexp.h> | 31 | #include <qregexp.h> |
32 | #include <qstylesheet.h> | 32 | #include <qstylesheet.h> |
33 | #include <qfileinfo.h> | 33 | #include <qfileinfo.h> |
34 | #include <qmap.h> | 34 | #include <qmap.h> |
35 | 35 | ||
36 | #include <stdio.h> | 36 | #include <stdio.h> |
37 | 37 | ||
38 | /*! | 38 | /*! |
39 | \class Contact contact.h | 39 | \class Contact contact.h |
40 | \brief The Contact class holds the data of an address book entry. | 40 | \brief The Contact class holds the data of an address book entry. |
41 | 41 | ||
42 | This data includes information the name of the person, contact | 42 | This data includes information the name of the person, contact |
43 | information, and business information such as deparment and job title. | 43 | information, and business information such as deparment and job title. |
44 | 44 | ||
45 | \ingroup qtopiaemb | 45 | \ingroup qtopiaemb |
46 | \ingroup qtopiadesktop | 46 | \ingroup qtopiadesktop |
47 | */ | 47 | */ |
48 | 48 | ||
49 | Qtopia::UidGen OContact::sUidGen( Qtopia::UidGen::Qtopia ); | 49 | Qtopia::UidGen OContact::sUidGen( Qtopia::UidGen::Qtopia ); |
50 | 50 | ||
51 | /*! | 51 | /*! |
52 | Creates a new, empty contact. | 52 | Creates a new, empty contact. |
53 | */ | 53 | */ |
54 | OContact::OContact() | 54 | OContact::OContact() |
55 | : OPimRecord(), mMap(), d( 0 ) | 55 | : OPimRecord(), mMap(), d( 0 ) |
56 | { | 56 | { |
57 | } | 57 | } |
58 | 58 | ||
59 | /*! | 59 | /*! |
60 | \internal | 60 | \internal |
61 | Creates a new contact. The properties of the contact are | 61 | Creates a new contact. The properties of the contact are |
62 | set from \a fromMap. | 62 | set from \a fromMap. |
63 | */ | 63 | */ |
64 | OContact::OContact( const QMap<int, QString> &fromMap ) : | 64 | OContact::OContact( const QMap<int, QString> &fromMap ) : |
65 | OPimRecord(), mMap( fromMap ), d( 0 ) | 65 | OPimRecord(), mMap( fromMap ), d( 0 ) |
66 | { | 66 | { |
67 | QString cats = mMap[ Qtopia::AddressCategory ]; | 67 | QString cats = mMap[ Qtopia::AddressCategory ]; |
68 | if ( !cats.isEmpty() ) | 68 | if ( !cats.isEmpty() ) |
69 | setCategories( idsFromString( cats ) ); | 69 | setCategories( idsFromString( cats ) ); |
70 | QString uidStr = find( Qtopia::AddressUid ); | 70 | QString uidStr = find( Qtopia::AddressUid ); |
71 | 71 | ||
72 | if ( uidStr.isEmpty() ) | 72 | if ( uidStr.isEmpty() ) |
73 | setUid( uidGen().generate() ); | 73 | setUid( uidGen().generate() ); |
74 | else | 74 | else |
75 | setUid( uidStr.toInt() ); | 75 | setUid( uidStr.toInt() ); |
76 | 76 | ||
77 | if ( !uidStr.isEmpty() ) | 77 | if ( !uidStr.isEmpty() ) |
78 | setUid( uidStr.toInt() ); | 78 | setUid( uidStr.toInt() ); |
79 | } | 79 | } |
80 | 80 | ||
81 | /*! | 81 | /*! |
82 | Destroys a contact. | 82 | Destroys a contact. |
83 | */ | 83 | */ |
84 | OContact::~OContact() | 84 | OContact::~OContact() |
85 | { | 85 | { |
86 | } | 86 | } |
87 | 87 | ||
88 | /*! \fn void OContact::setTitle( const QString &str ) | 88 | /*! \fn void OContact::setTitle( const QString &str ) |
89 | Sets the title of the contact to \a str. | 89 | Sets the title of the contact to \a str. |
90 | */ | 90 | */ |
91 | 91 | ||
92 | /*! \fn void OContact::setFirstName( const QString &str ) | 92 | /*! \fn void OContact::setFirstName( const QString &str ) |
93 | Sets the first name of the contact to \a str. | 93 | Sets the first name of the contact to \a str. |
94 | */ | 94 | */ |
95 | 95 | ||
96 | /*! \fn void OContact::setMiddleName( const QString &str ) | 96 | /*! \fn void OContact::setMiddleName( const QString &str ) |
97 | Sets the middle name of the contact to \a str. | 97 | Sets the middle name of the contact to \a str. |
98 | */ | 98 | */ |
99 | 99 | ||
100 | /*! \fn void OContact::setLastName( const QString &str ) | 100 | /*! \fn void OContact::setLastName( const QString &str ) |
101 | Sets the last name of the contact to \a str. | 101 | Sets the last name of the contact to \a str. |
102 | */ | 102 | */ |
103 | 103 | ||
104 | /*! \fn void OContact::setSuffix( const QString &str ) | 104 | /*! \fn void OContact::setSuffix( const QString &str ) |
105 | Sets the suffix of the contact to \a str. | 105 | Sets the suffix of the contact to \a str. |
106 | */ | 106 | */ |
107 | 107 | ||
108 | /*! \fn void OContact::setFileAs( const QString &str ) | 108 | /*! \fn void OContact::setFileAs( const QString &str ) |
109 | Sets the contact to filed as \a str. | 109 | Sets the contact to filed as \a str. |
110 | */ | 110 | */ |
111 | 111 | ||
112 | /*! \fn void OContact::setDefaultEmail( const QString &str ) | 112 | /*! \fn void OContact::setDefaultEmail( const QString &str ) |
113 | Sets the default email of the contact to \a str. | 113 | Sets the default email of the contact to \a str. |
114 | */ | 114 | */ |
115 | 115 | ||
116 | /*! \fn void OContact::setHomeStreet( const QString &str ) | 116 | /*! \fn void OContact::setHomeStreet( const QString &str ) |
117 | Sets the home street address of the contact to \a str. | 117 | Sets the home street address of the contact to \a str. |
118 | */ | 118 | */ |
119 | 119 | ||
120 | /*! \fn void OContact::setHomeCity( const QString &str ) | 120 | /*! \fn void OContact::setHomeCity( const QString &str ) |
121 | Sets the home city of the contact to \a str. | 121 | Sets the home city of the contact to \a str. |
122 | */ | 122 | */ |
123 | 123 | ||
124 | /*! \fn void OContact::setHomeState( const QString &str ) | 124 | /*! \fn void OContact::setHomeState( const QString &str ) |
125 | Sets the home state of the contact to \a str. | 125 | Sets the home state of the contact to \a str. |
126 | */ | 126 | */ |
127 | 127 | ||
128 | /*! \fn void OContact::setHomeZip( const QString &str ) | 128 | /*! \fn void OContact::setHomeZip( const QString &str ) |
129 | Sets the home zip code of the contact to \a str. | 129 | Sets the home zip code of the contact to \a str. |
130 | */ | 130 | */ |
131 | 131 | ||
132 | /*! \fn void OContact::setHomeCountry( const QString &str ) | 132 | /*! \fn void OContact::setHomeCountry( const QString &str ) |
133 | Sets the home country of the contact to \a str. | 133 | Sets the home country of the contact to \a str. |
134 | */ | 134 | */ |
135 | 135 | ||
136 | /*! \fn void OContact::setHomePhone( const QString &str ) | 136 | /*! \fn void OContact::setHomePhone( const QString &str ) |
137 | Sets the home phone number of the contact to \a str. | 137 | Sets the home phone number of the contact to \a str. |
138 | */ | 138 | */ |
139 | 139 | ||
140 | /*! \fn void OContact::setHomeFax( const QString &str ) | 140 | /*! \fn void OContact::setHomeFax( const QString &str ) |
141 | Sets the home fax number of the contact to \a str. | 141 | Sets the home fax number of the contact to \a str. |
142 | */ | 142 | */ |
143 | 143 | ||
144 | /*! \fn void OContact::setHomeMobile( const QString &str ) | 144 | /*! \fn void OContact::setHomeMobile( const QString &str ) |
145 | Sets the home mobile phone number of the contact to \a str. | 145 | Sets the home mobile phone number of the contact to \a str. |
146 | */ | 146 | */ |
147 | 147 | ||
148 | /*! \fn void OContact::setHomeWebpage( const QString &str ) | 148 | /*! \fn void OContact::setHomeWebpage( const QString &str ) |
149 | Sets the home webpage of the contact to \a str. | 149 | Sets the home webpage of the contact to \a str. |
150 | */ | 150 | */ |
151 | 151 | ||
152 | /*! \fn void OContact::setCompany( const QString &str ) | 152 | /*! \fn void OContact::setCompany( const QString &str ) |
153 | Sets the company for contact to \a str. | 153 | Sets the company for contact to \a str. |
154 | */ | 154 | */ |
155 | 155 | ||
156 | /*! \fn void OContact::setJobTitle( const QString &str ) | 156 | /*! \fn void OContact::setJobTitle( const QString &str ) |
157 | Sets the job title of the contact to \a str. | 157 | Sets the job title of the contact to \a str. |
158 | */ | 158 | */ |
159 | 159 | ||
160 | /*! \fn void OContact::setDepartment( const QString &str ) | 160 | /*! \fn void OContact::setDepartment( const QString &str ) |
161 | Sets the department for contact to \a str. | 161 | Sets the department for contact to \a str. |
162 | */ | 162 | */ |
163 | 163 | ||
164 | /*! \fn void OContact::setOffice( const QString &str ) | 164 | /*! \fn void OContact::setOffice( const QString &str ) |
165 | Sets the office for contact to \a str. | 165 | Sets the office for contact to \a str. |
166 | */ | 166 | */ |
167 | 167 | ||
168 | /*! \fn void OContact::setBusinessStreet( const QString &str ) | 168 | /*! \fn void OContact::setBusinessStreet( const QString &str ) |
169 | Sets the business street address of the contact to \a str. | 169 | Sets the business street address of the contact to \a str. |
170 | */ | 170 | */ |
171 | 171 | ||
172 | /*! \fn void OContact::setBusinessCity( const QString &str ) | 172 | /*! \fn void OContact::setBusinessCity( const QString &str ) |
173 | Sets the business city of the contact to \a str. | 173 | Sets the business city of the contact to \a str. |
174 | */ | 174 | */ |
175 | 175 | ||
176 | /*! \fn void OContact::setBusinessState( const QString &str ) | 176 | /*! \fn void OContact::setBusinessState( const QString &str ) |
177 | Sets the business state of the contact to \a str. | 177 | Sets the business state of the contact to \a str. |
178 | */ | 178 | */ |
179 | 179 | ||
180 | /*! \fn void OContact::setBusinessZip( const QString &str ) | 180 | /*! \fn void OContact::setBusinessZip( const QString &str ) |
181 | Sets the business zip code of the contact to \a str. | 181 | Sets the business zip code of the contact to \a str. |
182 | */ | 182 | */ |
183 | 183 | ||
184 | /*! \fn void OContact::setBusinessCountry( const QString &str ) | 184 | /*! \fn void OContact::setBusinessCountry( const QString &str ) |
185 | Sets the business country of the contact to \a str. | 185 | Sets the business country of the contact to \a str. |
186 | */ | 186 | */ |
187 | 187 | ||
188 | /*! \fn void OContact::setBusinessPhone( const QString &str ) | 188 | /*! \fn void OContact::setBusinessPhone( const QString &str ) |
189 | Sets the business phone number of the contact to \a str. | 189 | Sets the business phone number of the contact to \a str. |
190 | */ | 190 | */ |
191 | 191 | ||
192 | /*! \fn void OContact::setBusinessFax( const QString &str ) | 192 | /*! \fn void OContact::setBusinessFax( const QString &str ) |
193 | Sets the business fax number of the contact to \a str. | 193 | Sets the business fax number of the contact to \a str. |
194 | */ | 194 | */ |
195 | 195 | ||
196 | /*! \fn void OContact::setBusinessMobile( const QString &str ) | 196 | /*! \fn void OContact::setBusinessMobile( const QString &str ) |
197 | Sets the business mobile phone number of the contact to \a str. | 197 | Sets the business mobile phone number of the contact to \a str. |
198 | */ | 198 | */ |
199 | 199 | ||
200 | /*! \fn void OContact::setBusinessPager( const QString &str ) | 200 | /*! \fn void OContact::setBusinessPager( const QString &str ) |
201 | Sets the business pager number of the contact to \a str. | 201 | Sets the business pager number of the contact to \a str. |
202 | */ | 202 | */ |
203 | 203 | ||
204 | /*! \fn void OContact::setBusinessWebpage( const QString &str ) | 204 | /*! \fn void OContact::setBusinessWebpage( const QString &str ) |
205 | Sets the business webpage of the contact to \a str. | 205 | Sets the business webpage of the contact to \a str. |
206 | */ | 206 | */ |
207 | 207 | ||
208 | /*! \fn void OContact::setProfession( const QString &str ) | 208 | /*! \fn void OContact::setProfession( const QString &str ) |
209 | Sets the profession of the contact to \a str. | 209 | Sets the profession of the contact to \a str. |
210 | */ | 210 | */ |
211 | 211 | ||
212 | /*! \fn void OContact::setAssistant( const QString &str ) | 212 | /*! \fn void OContact::setAssistant( const QString &str ) |
213 | Sets the assistant of the contact to \a str. | 213 | Sets the assistant of the contact to \a str. |
214 | */ | 214 | */ |
215 | 215 | ||
216 | /*! \fn void OContact::setManager( const QString &str ) | 216 | /*! \fn void OContact::setManager( const QString &str ) |
217 | Sets the manager of the contact to \a str. | 217 | Sets the manager of the contact to \a str. |
218 | */ | 218 | */ |
219 | 219 | ||
220 | /*! \fn void OContact::setSpouse( const QString &str ) | 220 | /*! \fn void OContact::setSpouse( const QString &str ) |
221 | Sets the spouse of the contact to \a str. | 221 | Sets the spouse of the contact to \a str. |
222 | */ | 222 | */ |
223 | 223 | ||
224 | /*! \fn void OContact::setGender( const QString &str ) | 224 | /*! \fn void OContact::setGender( const QString &str ) |
225 | Sets the gender of the contact to \a str. | 225 | Sets the gender of the contact to \a str. |
226 | */ | 226 | */ |
227 | 227 | ||
228 | /*! \fn void OContact::setBirthday( const QString &str ) | 228 | /*! \fn void OContact::setBirthday( const QString &str ) |
229 | Sets the birthday for the contact to \a str. | 229 | Sets the birthday for the contact to \a str. |
230 | */ | 230 | */ |
231 | 231 | ||
232 | /*! \fn void OContact::setAnniversary( const QString &str ) | 232 | /*! \fn void OContact::setAnniversary( const QString &str ) |
233 | Sets the anniversary of the contact to \a str. | 233 | Sets the anniversary of the contact to \a str. |
234 | */ | 234 | */ |
235 | 235 | ||
236 | /*! \fn void OContact::setNickname( const QString &str ) | 236 | /*! \fn void OContact::setNickname( const QString &str ) |
237 | Sets the nickname of the contact to \a str. | 237 | Sets the nickname of the contact to \a str. |
238 | */ | 238 | */ |
239 | 239 | ||
240 | /*! \fn void OContact::setNotes( const QString &str ) | 240 | /*! \fn void OContact::setNotes( const QString &str ) |
241 | Sets the notes about the contact to \a str. | 241 | Sets the notes about the contact to \a str. |
242 | */ | 242 | */ |
243 | 243 | ||
244 | /*! \fn QString OContact::title() const | 244 | /*! \fn QString OContact::title() const |
245 | Returns the title of the contact. | 245 | Returns the title of the contact. |
246 | */ | 246 | */ |
247 | 247 | ||
248 | /*! \fn QString OContact::firstName() const | 248 | /*! \fn QString OContact::firstName() const |
249 | Returns the first name of the contact. | 249 | Returns the first name of the contact. |
250 | */ | 250 | */ |
251 | 251 | ||
252 | /*! \fn QString OContact::middleName() const | 252 | /*! \fn QString OContact::middleName() const |
253 | Returns the middle name of the contact. | 253 | Returns the middle name of the contact. |
254 | */ | 254 | */ |
255 | 255 | ||
256 | /*! \fn QString OContact::lastName() const | 256 | /*! \fn QString OContact::lastName() const |
257 | Returns the last name of the contact. | 257 | Returns the last name of the contact. |
258 | */ | 258 | */ |
259 | 259 | ||
260 | /*! \fn QString OContact::suffix() const | 260 | /*! \fn QString OContact::suffix() const |
261 | Returns the suffix of the contact. | 261 | Returns the suffix of the contact. |
262 | */ | 262 | */ |
263 | 263 | ||
264 | /*! \fn QString OContact::fileAs() const | 264 | /*! \fn QString OContact::fileAs() const |
265 | Returns the string the contact is filed as. | 265 | Returns the string the contact is filed as. |
266 | */ | 266 | */ |
267 | 267 | ||
268 | /*! \fn QString OContact::defaultEmail() const | 268 | /*! \fn QString OContact::defaultEmail() const |
269 | Returns the default email address of the contact. | 269 | Returns the default email address of the contact. |
270 | */ | 270 | */ |
271 | 271 | ||
272 | /*! \fn QString OContact::emails() const | 272 | /*! \fn QString OContact::emails() const |
273 | Returns the list of email address for a contact separated by ';'s in a single | 273 | Returns the list of email address for a contact separated by ';'s in a single |
274 | string. | 274 | string. |
275 | */ | 275 | */ |
276 | 276 | ||
277 | /*! \fn QString OContact::homeStreet() const | 277 | /*! \fn QString OContact::homeStreet() const |
278 | Returns the home street address of the contact. | 278 | Returns the home street address of the contact. |
279 | */ | 279 | */ |
280 | 280 | ||
281 | /*! \fn QString OContact::homeCity() const | 281 | /*! \fn QString OContact::homeCity() const |
282 | Returns the home city of the contact. | 282 | Returns the home city of the contact. |
283 | */ | 283 | */ |
284 | 284 | ||
285 | /*! \fn QString OContact::homeState() const | 285 | /*! \fn QString OContact::homeState() const |
286 | Returns the home state of the contact. | 286 | Returns the home state of the contact. |
287 | */ | 287 | */ |
288 | 288 | ||
289 | /*! \fn QString OContact::homeZip() const | 289 | /*! \fn QString OContact::homeZip() const |
290 | Returns the home zip of the contact. | 290 | Returns the home zip of the contact. |
291 | */ | 291 | */ |
292 | 292 | ||
293 | /*! \fn QString OContact::homeCountry() const | 293 | /*! \fn QString OContact::homeCountry() const |
294 | Returns the home country of the contact. | 294 | Returns the home country of the contact. |
295 | */ | 295 | */ |
296 | 296 | ||
297 | /*! \fn QString OContact::homePhone() const | 297 | /*! \fn QString OContact::homePhone() const |
298 | Returns the home phone number of the contact. | 298 | Returns the home phone number of the contact. |
299 | */ | 299 | */ |
300 | 300 | ||
301 | /*! \fn QString OContact::homeFax() const | 301 | /*! \fn QString OContact::homeFax() const |
302 | Returns the home fax number of the contact. | 302 | Returns the home fax number of the contact. |
303 | */ | 303 | */ |
304 | 304 | ||
305 | /*! \fn QString OContact::homeMobile() const | 305 | /*! \fn QString OContact::homeMobile() const |
306 | Returns the home mobile number of the contact. | 306 | Returns the home mobile number of the contact. |
307 | */ | 307 | */ |
308 | 308 | ||
309 | /*! \fn QString OContact::homeWebpage() const | 309 | /*! \fn QString OContact::homeWebpage() const |
310 | Returns the home webpage of the contact. | 310 | Returns the home webpage of the contact. |
311 | */ | 311 | */ |
312 | 312 | ||
313 | /*! \fn QString OContact::company() const | 313 | /*! \fn QString OContact::company() const |
314 | Returns the company for the contact. | 314 | Returns the company for the contact. |
315 | */ | 315 | */ |
316 | 316 | ||
317 | /*! \fn QString OContact::department() const | 317 | /*! \fn QString OContact::department() const |
318 | Returns the department for the contact. | 318 | Returns the department for the contact. |
319 | */ | 319 | */ |
320 | 320 | ||
321 | /*! \fn QString OContact::office() const | 321 | /*! \fn QString OContact::office() const |
322 | Returns the office for the contact. | 322 | Returns the office for the contact. |
323 | */ | 323 | */ |
324 | 324 | ||
325 | /*! \fn QString OContact::jobTitle() const | 325 | /*! \fn QString OContact::jobTitle() const |
326 | Returns the job title of the contact. | 326 | Returns the job title of the contact. |
327 | */ | 327 | */ |
328 | 328 | ||
329 | /*! \fn QString OContact::profession() const | 329 | /*! \fn QString OContact::profession() const |
330 | Returns the profession of the contact. | 330 | Returns the profession of the contact. |
331 | */ | 331 | */ |
332 | 332 | ||
333 | /*! \fn QString OContact::assistant() const | 333 | /*! \fn QString OContact::assistant() const |
334 | Returns the assistant of the contact. | 334 | Returns the assistant of the contact. |
335 | */ | 335 | */ |
336 | 336 | ||
337 | /*! \fn QString OContact::manager() const | 337 | /*! \fn QString OContact::manager() const |
338 | Returns the manager of the contact. | 338 | Returns the manager of the contact. |
339 | */ | 339 | */ |
340 | 340 | ||
341 | /*! \fn QString OContact::businessStreet() const | 341 | /*! \fn QString OContact::businessStreet() const |
342 | Returns the business street address of the contact. | 342 | Returns the business street address of the contact. |
343 | */ | 343 | */ |
344 | 344 | ||
345 | /*! \fn QString OContact::businessCity() const | 345 | /*! \fn QString OContact::businessCity() const |
346 | Returns the business city of the contact. | 346 | Returns the business city of the contact. |
347 | */ | 347 | */ |
348 | 348 | ||
349 | /*! \fn QString OContact::businessState() const | 349 | /*! \fn QString OContact::businessState() const |
350 | Returns the business state of the contact. | 350 | Returns the business state of the contact. |
351 | */ | 351 | */ |
352 | 352 | ||
353 | /*! \fn QString OContact::businessZip() const | 353 | /*! \fn QString OContact::businessZip() const |
354 | Returns the business zip of the contact. | 354 | Returns the business zip of the contact. |
355 | */ | 355 | */ |
356 | 356 | ||
357 | /*! \fn QString OContact::businessCountry() const | 357 | /*! \fn QString OContact::businessCountry() const |
358 | Returns the business country of the contact. | 358 | Returns the business country of the contact. |
359 | */ | 359 | */ |
360 | 360 | ||
361 | /*! \fn QString OContact::businessPhone() const | 361 | /*! \fn QString OContact::businessPhone() const |
362 | Returns the business phone number of the contact. | 362 | Returns the business phone number of the contact. |
363 | */ | 363 | */ |
364 | 364 | ||
365 | /*! \fn QString OContact::businessFax() const | 365 | /*! \fn QString OContact::businessFax() const |
366 | Returns the business fax number of the contact. | 366 | Returns the business fax number of the contact. |
367 | */ | 367 | */ |
368 | 368 | ||
369 | /*! \fn QString OContact::businessMobile() const | 369 | /*! \fn QString OContact::businessMobile() const |
370 | Returns the business mobile number of the contact. | 370 | Returns the business mobile number of the contact. |
371 | */ | 371 | */ |
372 | 372 | ||
373 | /*! \fn QString OContact::businessPager() const | 373 | /*! \fn QString OContact::businessPager() const |
374 | Returns the business pager number of the contact. | 374 | Returns the business pager number of the contact. |
375 | */ | 375 | */ |
376 | 376 | ||
377 | /*! \fn QString OContact::businessWebpage() const | 377 | /*! \fn QString OContact::businessWebpage() const |
378 | Returns the business webpage of the contact. | 378 | Returns the business webpage of the contact. |
379 | */ | 379 | */ |
380 | 380 | ||
381 | /*! \fn QString OContact::spouse() const | 381 | /*! \fn QString OContact::spouse() const |
382 | Returns the spouse of the contact. | 382 | Returns the spouse of the contact. |
383 | */ | 383 | */ |
384 | 384 | ||
385 | /*! \fn QString OContact::gender() const | 385 | /*! \fn QString OContact::gender() const |
386 | Returns the gender of the contact. | 386 | Returns the gender of the contact. |
387 | */ | 387 | */ |
388 | 388 | ||
389 | /*! \fn QString OContact::birthday() const | 389 | /*! \fn QString OContact::birthday() const |
390 | Returns the birthday of the contact. | 390 | Returns the birthday of the contact. |
391 | */ | 391 | */ |
392 | 392 | ||
393 | /*! \fn QString OContact::anniversary() const | 393 | /*! \fn QString OContact::anniversary() const |
394 | Returns the anniversary of the contact. | 394 | Returns the anniversary of the contact. |
395 | */ | 395 | */ |
396 | 396 | ||
397 | /*! \fn QString OContact::nickname() const | 397 | /*! \fn QString OContact::nickname() const |
398 | Returns the nickname of the contact. | 398 | Returns the nickname of the contact. |
399 | */ | 399 | */ |
400 | 400 | ||
401 | /*! \fn QString OContact::children() const | 401 | /*! \fn QString OContact::children() const |
402 | Returns the children of the contact. | 402 | Returns the children of the contact. |
403 | */ | 403 | */ |
404 | 404 | ||
405 | /*! \fn QString OContact::notes() const | 405 | /*! \fn QString OContact::notes() const |
406 | Returns the notes relating to the the contact. | 406 | Returns the notes relating to the the contact. |
407 | */ | 407 | */ |
408 | 408 | ||
409 | /*! \fn QString OContact::groups() const | 409 | /*! \fn QString OContact::groups() const |