/usr/share/qt5/doc/qtcontacts/qml-qtcontacts-contact.html is in qtpim5-doc-html 5.0~git20140515~29475884-0ubuntu24~7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativecontact.cpp -->
<title>Contact QML Type | Qt 5.0</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.0</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.0.0 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Contact QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Contact-brief -->
<p>The Contact element represents an addressbook contact. <a href="#details">More...</a></p>
<!-- @@@Contact -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtContacts 5.0</td></tr></table></div><ul>
<li><a href="qml-qtcontacts-contact-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#address-prop">address</a></b></b> : Address</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#addresses-prop">addresses</a></b></b> : list<Address></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#anniversary-prop">anniversary</a></b></b> : Anniversary</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#avatar-prop">avatar</a></b></b> : Avatar</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#birthday-prop">birthday</a></b></b> : Birthday</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#contactDetails-prop">contactDetails</a></b></b> : list<ContactDetail></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#contactId-prop">contactId</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#displayLabel-prop">displayLabel</a></b></b> : DisplayLabel</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#email-prop">email</a></b></b> : EmailAddress</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#emails-prop">emails</a></b></b> : list<EmailAddress></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#extendedDetail-prop">extendedDetail</a></b></b> : ExtendedDetail</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#extendedDetails-prop">extendedDetails</a></b></b> : list<ExtendedDetail></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#family-prop">family</a></b></b> : Family</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#favorite-prop">favorite</a></b></b> : Favorite</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#gender-prop">gender</a></b></b> : Gender</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#geolocation-prop">geolocation</a></b></b> : GeoLocation</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#globalPresence-prop">globalPresence</a></b></b> : GlobalPresence</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#guid-prop">guid</a></b></b> : Guid</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#hobby-prop">hobby</a></b></b> : Hobby</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#manager-prop">manager</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#modified-prop">modified</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#name-prop">name</a></b></b> : Name</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#nickname-prop">nickname</a></b></b> : Nickname</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#note-prop">note</a></b></b> : Note</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#onlineAccount-prop">onlineAccount</a></b></b> : OnlineAccount</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#organization-prop">organization</a></b></b> : Organization</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#organizations-prop">organizations</a></b></b> : list<Organization></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#phoneNumber-prop">phoneNumber</a></b></b> : PhoneNumber</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#phoneNumbers-prop">phoneNumbers</a></b></b> : list<PhoneNumber></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#presence-prop">presence</a></b></b> : Presence</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#ringtone-prop">ringtone</a></b></b> : Ringtone</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#syncTarget-prop">syncTarget</a></b></b> : SyncTarget</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#tag-prop">tag</a></b></b> : Tag</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#timestamp-prop">timestamp</a></b></b> : Timestamp</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#type-prop">type</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#url-prop">url</a></b></b> : Url</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#urls-prop">urls</a></b></b> : list<Url></li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#version-prop">version</a></b></b> : Version</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#addDetail-method">addDetail</a></b></b>(<i>detail</i>)</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#clearDetails-method">clearDetails</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#isPreferredDetail-method">isPreferredDetail</a></b></b>(<i>actionName</i>, <i>detail</i>)</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#preferredDetail-method">preferredDetail</a></b></b>(<i>actionName</i>, <i>detail</i>)</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#removeDetail-method">removeDetail</a></b></b>(<i>detail</i>)</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#save-method">save</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtcontacts-contact.html#setPreferredDetail-method">setPreferredDetail</a></b></b>(<i>actionName</i>, <i>detail</i>)</li>
</ul>
<!-- $$$Contact-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The Contact element is part of the <b><a href="qtcontacts-qmlmodule.html">QtContacts</a></b> module.</p>
<p>A Contact object has a collection of details (like a name, phone numbers and email addresses). Each detail (which can have multiple fields) is stored in an appropriate subclass of <a href="qml-qtcontacts-contactdetail.html">ContactDetail</a>, and the Contact allows retrieving these details in various ways.</p>
<p>If some of the contact details are not unique details, all of this type of detail values can be accessed by the property with the name in plural. For example, if there are 3 phone numbers stored in a contact, they can be accessed by contact.<a href="qml-qtcontacts-contact.html#phoneNumbers-prop">phoneNumbers</a> property, which holds a list of all <a href="qml-qtcontacts-phonenumber.html">PhoneNumber</a> details. If a contact does not contain a detail of particular type, the value of the corresponding singular property (e.g. <a href="qml-qtcontacts-contact.html#phoneNumber-prop">phoneNumber</a>) in undefined and the plural (e.g. <a href="qml-qtcontacts-contact.html#phoneNumbers-prop">phoneNumbers</a>) is empty. The list of properties which support multiple detail instances depends on the contact engine implementations.</p>
<p><b>See also </b><a href="qcontact.html">QContact</a>.</p>
<!-- @@@Contact -->
<h2>Property Documentation</h2>
<!-- $$$address -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="address-prop">
<td class="tblQmlPropNode"><p>
<a name="address-prop"></a><span class="name">address</span> : <span class="type"><a href="qml-qtcontacts-address.html">Address</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the address detail of the Contact object. In case a contact has several addresses then the first one is returned.</p>
</div></div><!-- @@@address -->
<br/>
<!-- $$$addresses -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="addresses-prop">
<td class="tblQmlPropNode"><p>
<a name="addresses-prop"></a><span class="name">addresses</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-address.html">Address</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the address details of the Contact object.</p>
</div></div><!-- @@@addresses -->
<br/>
<!-- $$$anniversary -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="anniversary-prop">
<td class="tblQmlPropNode"><p>
<a name="anniversary-prop"></a><span class="name">anniversary</span> : <span class="type"><a href="qml-qtcontacts-anniversary.html">Anniversary</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the anniversary detail of the Contact object.</p>
</div></div><!-- @@@anniversary -->
<br/>
<!-- $$$avatar -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="avatar-prop">
<td class="tblQmlPropNode"><p>
<a name="avatar-prop"></a><span class="name">avatar</span> : <span class="type"><a href="qml-qtcontacts-avatar.html">Avatar</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the avatar detail of the Contact object.</p>
</div></div><!-- @@@avatar -->
<br/>
<!-- $$$birthday -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="birthday-prop">
<td class="tblQmlPropNode"><p>
<a name="birthday-prop"></a><span class="name">birthday</span> : <span class="type"><a href="qml-qtcontacts-birthday.html">Birthday</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the birthday detail of the Contact object.</p>
</div></div><!-- @@@birthday -->
<br/>
<!-- $$$contactDetails -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contactDetails-prop">
<td class="tblQmlPropNode"><p>
<a name="contactDetails-prop"></a><span class="name">contactDetails</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-contactdetail.html">ContactDetail</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the list of all the details that the contact has.</p>
</div></div><!-- @@@contactDetails -->
<br/>
<!-- $$$contactId -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contactId-prop">
<td class="tblQmlPropNode"><p>
<a name="contactId-prop"></a><span class="name">contactId</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the id of the Contact object. This property is read only.</p>
</div></div><!-- @@@contactId -->
<br/>
<!-- $$$displayLabel -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="displayLabel-prop">
<td class="tblQmlPropNode"><p>
<a name="displayLabel-prop"></a><span class="name">displayLabel</span> : <span class="type"><a href="qml-qtcontacts-displaylabel.html">DisplayLabel</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the displayLabel detail of the Contact object. display label is the one which gets displayed when a contact is created as per versit doc specs this is a "FN" property</p>
</div></div><!-- @@@displayLabel -->
<br/>
<!-- $$$email -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="email-prop">
<td class="tblQmlPropNode"><p>
<a name="email-prop"></a><span class="name">email</span> : <span class="type"><a href="qml-qtcontacts-emailaddress.html">EmailAddress</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the email address detail of the Contact object. In case a contact has several email addresses then the first one is returned.</p>
</div></div><!-- @@@email -->
<br/>
<!-- $$$emails -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="emails-prop">
<td class="tblQmlPropNode"><p>
<a name="emails-prop"></a><span class="name">emails</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-emailaddress.html">EmailAddress</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the email address details of the Contact object.</p>
</div></div><!-- @@@emails -->
<br/>
<!-- $$$extendedDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="extendedDetail-prop">
<td class="tblQmlPropNode"><p>
<a name="extendedDetail-prop"></a><span class="name">extendedDetail</span> : <span class="type"><a href="qml-qtcontacts-extendeddetail.html">ExtendedDetail</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the extended detail of the Contact object. In case a contact has several extended details then the first one is returned.</p>
</div></div><!-- @@@extendedDetail -->
<br/>
<!-- $$$extendedDetails -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="extendedDetails-prop">
<td class="tblQmlPropNode"><p>
<a name="extendedDetails-prop"></a><span class="name">extendedDetails</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-extendeddetail.html">ExtendedDetail</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the extended details of the Contact object.</p>
</div></div><!-- @@@extendedDetails -->
<br/>
<!-- $$$family -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="family-prop">
<td class="tblQmlPropNode"><p>
<a name="family-prop"></a><span class="name">family</span> : <span class="type"><a href="qml-qtcontacts-family.html">Family</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the family detail of the Contact object.</p>
</div></div><!-- @@@family -->
<br/>
<!-- $$$favorite -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="favorite-prop">
<td class="tblQmlPropNode"><p>
<a name="favorite-prop"></a><span class="name">favorite</span> : <span class="type"><a href="qml-qtcontacts-favorite.html">Favorite</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the favorite detail of the Contact object.</p>
</div></div><!-- @@@favorite -->
<br/>
<!-- $$$gender -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="gender-prop">
<td class="tblQmlPropNode"><p>
<a name="gender-prop"></a><span class="name">gender</span> : <span class="type"><a href="qml-qtcontacts-gender.html">Gender</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the gender detail of the Contact object.</p>
</div></div><!-- @@@gender -->
<br/>
<!-- $$$geolocation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="geolocation-prop">
<td class="tblQmlPropNode"><p>
<a name="geolocation-prop"></a><span class="name">geolocation</span> : <span class="type"><a href="qml-qtcontacts-geolocation.html">GeoLocation</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the geolocation detail of the Contact object.</p>
</div></div><!-- @@@geolocation -->
<br/>
<!-- $$$globalPresence -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="globalPresence-prop">
<td class="tblQmlPropNode"><p>
<a name="globalPresence-prop"></a><span class="name">globalPresence</span> : <span class="type"><a href="qml-qtcontacts-globalpresence.html">GlobalPresence</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the globalPresence detail of the Contact object.</p>
</div></div><!-- @@@globalPresence -->
<br/>
<!-- $$$guid -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="guid-prop">
<td class="tblQmlPropNode"><p>
<a name="guid-prop"></a><span class="name">guid</span> : <span class="type"><a href="qml-qtcontacts-guid.html">Guid</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the guid detail of the Contact object.</p>
</div></div><!-- @@@guid -->
<br/>
<!-- $$$hobby -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="hobby-prop">
<td class="tblQmlPropNode"><p>
<a name="hobby-prop"></a><span class="name">hobby</span> : <span class="type"><a href="qml-qtcontacts-hobby.html">Hobby</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the hobby detail of the Contact object.</p>
</div></div><!-- @@@hobby -->
<br/>
<!-- $$$manager -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="manager-prop">
<td class="tblQmlPropNode"><p>
<a name="manager-prop"></a><span class="name">manager</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the manager name which the Contact object comes from.</p>
</div></div><!-- @@@manager -->
<br/>
<!-- $$$modified -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="modified-prop">
<td class="tblQmlPropNode"><p>
<a name="modified-prop"></a><span class="name">modified</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the dirty flag of the Contact object. If the Contact has been changed, returns true, otherwise returns false.</p>
</div></div><!-- @@@modified -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="name-prop">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type"><a href="qml-qtcontacts-name.html">Name</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the name detail of the Contact object.</p>
</div></div><!-- @@@name -->
<br/>
<!-- $$$nickname -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="nickname-prop">
<td class="tblQmlPropNode"><p>
<a name="nickname-prop"></a><span class="name">nickname</span> : <span class="type"><a href="qml-qtcontacts-nickname.html">Nickname</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the nickname detail of the Contact object.</p>
</div></div><!-- @@@nickname -->
<br/>
<!-- $$$note -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="note-prop">
<td class="tblQmlPropNode"><p>
<a name="note-prop"></a><span class="name">note</span> : <span class="type"><a href="qml-qtcontacts-note.html">Note</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the note detail of the Contact object.</p>
</div></div><!-- @@@note -->
<br/>
<!-- $$$onlineAccount -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="onlineAccount-prop">
<td class="tblQmlPropNode"><p>
<a name="onlineAccount-prop"></a><span class="name">onlineAccount</span> : <span class="type"><a href="qml-qtcontacts-onlineaccount.html">OnlineAccount</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the onlineAccount detail of the Contact object. In case a contact has several accounts then the first one is returned.</p>
</div></div><!-- @@@onlineAccount -->
<br/>
<!-- $$$organization -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="organization-prop">
<td class="tblQmlPropNode"><p>
<a name="organization-prop"></a><span class="name">organization</span> : <span class="type"><a href="qml-qtcontacts-organization.html">Organization</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the organization detail of the Contact object.</p>
</div></div><!-- @@@organization -->
<br/>
<!-- $$$organizations -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="organizations-prop">
<td class="tblQmlPropNode"><p>
<a name="organizations-prop"></a><span class="name">organizations</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-organization.html">Organization</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the organization details of the Contact object.</p>
</div></div><!-- @@@organizations -->
<br/>
<!-- $$$phoneNumber -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="phoneNumber-prop">
<td class="tblQmlPropNode"><p>
<a name="phoneNumber-prop"></a><span class="name">phoneNumber</span> : <span class="type"><a href="qml-qtcontacts-phonenumber.html">PhoneNumber</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the phone number detail of the Contact object. In case a contact has several numbers then the first one is returned.</p>
</div></div><!-- @@@phoneNumber -->
<br/>
<!-- $$$phoneNumbers -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="phoneNumbers-prop">
<td class="tblQmlPropNode"><p>
<a name="phoneNumbers-prop"></a><span class="name">phoneNumbers</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-phonenumber.html">PhoneNumber</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the phone number details of the Contact object.</p>
</div></div><!-- @@@phoneNumbers -->
<br/>
<!-- $$$presence -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="presence-prop">
<td class="tblQmlPropNode"><p>
<a name="presence-prop"></a><span class="name">presence</span> : <span class="type"><a href="qml-qtcontacts-presence.html">Presence</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the presence detail of the Contact object.</p>
</div></div><!-- @@@presence -->
<br/>
<!-- $$$ringtone -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="ringtone-prop">
<td class="tblQmlPropNode"><p>
<a name="ringtone-prop"></a><span class="name">ringtone</span> : <span class="type"><a href="qml-qtcontacts-ringtone.html">Ringtone</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the ringtone detail of the Contact object.</p>
</div></div><!-- @@@ringtone -->
<br/>
<!-- $$$syncTarget -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="syncTarget-prop">
<td class="tblQmlPropNode"><p>
<a name="syncTarget-prop"></a><span class="name">syncTarget</span> : <span class="type"><a href="qml-qtcontacts-synctarget.html">SyncTarget</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the syncTarget detail of the Contact object.</p>
</div></div><!-- @@@syncTarget -->
<br/>
<!-- $$$tag -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tag-prop">
<td class="tblQmlPropNode"><p>
<a name="tag-prop"></a><span class="name">tag</span> : <span class="type"><a href="qml-qtcontacts-tag.html">Tag</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the tag detail of the Contact object.</p>
</div></div><!-- @@@tag -->
<br/>
<!-- $$$timestamp -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="timestamp-prop">
<td class="tblQmlPropNode"><p>
<a name="timestamp-prop"></a><span class="name">timestamp</span> : <span class="type"><a href="qml-qtcontacts-timestamp.html">Timestamp</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the timestamp detail of the Contact object.</p>
</div></div><!-- @@@timestamp -->
<br/>
<!-- $$$type -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="type-prop">
<td class="tblQmlPropNode"><p>
<a name="type-prop"></a><span class="name">type</span> : <span class="type">enumeration</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds type of the Contact, the value can be one of:</p>
<ul>
<li>Contact.Contact</li>
<li>Contact.Group</li>
</ul>
</div></div><!-- @@@type -->
<br/>
<!-- $$$url -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="url-prop">
<td class="tblQmlPropNode"><p>
<a name="url-prop"></a><span class="name">url</span> : <span class="type"><a href="qml-qtcontacts-url.html">Url</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the url detail of the Contact object.</p>
</div></div><!-- @@@url -->
<br/>
<!-- $$$urls -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="urls-prop">
<td class="tblQmlPropNode"><p>
<a name="urls-prop"></a><span class="name">urls</span> : <span class="type">list</span><<span class="type"><a href="qml-qtcontacts-url.html">Url</a></span>></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the url details of the Contact object.</p>
</div></div><!-- @@@urls -->
<br/>
<!-- $$$version -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="version-prop">
<td class="tblQmlPropNode"><p>
<a name="version-prop"></a><span class="name">version</span> : <span class="type">Version</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the version detail of the Contact object.</p>
</div></div><!-- @@@version -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$addDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="addDetail-method">
<td class="tblQmlFuncNode"><p>
<a name="addDetail-method"></a><span class="name">addDetail</span>(<i>detail</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adds the given contact <i>detail</i> to the contact, returns true if successful, otherwise returns false.</p>
<p>Note: If the <i>detail</i> has been added into the same contact before, this operation will be ignored, so if you want to add a <i>detail</i> multiple times, the <i>detail</i> should be copied before calling this function.</p>
</div></div><!-- @@@addDetail -->
<br/>
<!-- $$$clearDetails -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="clearDetails-method">
<td class="tblQmlFuncNode"><p>
<a name="clearDetails-method"></a><span class="name">clearDetails</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Remove all detail objects in this contact.</p>
</div></div><!-- @@@clearDetails -->
<br/>
<!-- $$$isPreferredDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="isPreferredDetail-method">
<td class="tblQmlFuncNode"><p>
<a name="isPreferredDetail-method"></a><span class="name">isPreferredDetail</span>(<i>actionName</i>, <i>detail</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns true if the given <i>detail</i> is a preferred detail for the given <i>actionName</i>, or for any action if the <i>actionName</i> is empty.</p>
<p><b>See also </b><a href="qml-qtcontacts-contact.html#preferredDetail-method">preferredDetail()</a>.</p>
</div></div><!-- @@@isPreferredDetail -->
<br/>
<!-- $$$preferredDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="preferredDetail-method">
<td class="tblQmlFuncNode"><p>
<a name="preferredDetail-method"></a><span class="name">preferredDetail</span>(<i>actionName</i>, <i>detail</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the preferred detail for a given <i>actionName</i>.</p>
<p>If the <i>actionName</i> is empty, or there is no preference recorded for the supplied <i>actionName</i>, returns null.</p>
<p><b>See also </b>preferredDetails().</p>
</div></div><!-- @@@preferredDetail -->
<br/>
<!-- $$$removeDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="removeDetail-method">
<td class="tblQmlFuncNode"><p>
<a name="removeDetail-method"></a><span class="name">removeDetail</span>(<i>detail</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes the given contact <i>detail</i> from the contact, returns true if successful, otherwise returns false.</p>
</div></div><!-- @@@removeDetail -->
<br/>
<!-- $$$save -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="save-method">
<td class="tblQmlFuncNode"><p>
<a name="save-method"></a><span class="name">save</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Saves this Contact if the contact has been modified.</p>
<p><b>See also </b><a href="qml-qtcontacts-contact.html#modified-prop">Contact::modified</a>.</p>
</div></div><!-- @@@save -->
<br/>
<!-- $$$setPreferredDetail -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="setPreferredDetail-method">
<td class="tblQmlFuncNode"><p>
<a name="setPreferredDetail-method"></a><span class="name">setPreferredDetail</span>(<i>actionName</i>, <i>detail</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Set a particular detail (<i>preferredDetail</i>) as the preferred detail for any actions with the given <i>actionName</i>.</p>
<p>The <i>preferredDetail</i> object must exist in this object, and the <i>actionName</i> cannot be empty.</p>
<p>Returns true if the preference could be recorded, and false otherwise.</p>
<p><b>See also </b><a href="qml-qtcontacts-contact.html#preferredDetail-method">preferredDetail()</a>.</p>
</div></div><!-- @@@setPreferredDetail -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|