Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Contacts API: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''English''' [[Contacts API Spanish|Spanish]]
'''English''' [[Contacts_API_Spanish|Spanish]]


==News==
[[Category:Developing with Qt::QtMobility]]


[http://labs.qt.nokia.com/2011/05/04/qt-4-7-3-and-qt-mobility-1-1-3-have-been-released/ Qt Mobility 1.1.3 Release] ''[labs.qt.nokia.com]'' is available now for commercial app development and deployment on Ovi store.<br />[http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ Qt Mobility 1.2.0 release] ''[labs.qt.nokia.com]'' is available now.
== News ==


=Contacts <span class="caps">API</span>=
&quot;Qt Mobility 1.1.3 Release&amp;quot;:http://labs.qt.nokia.com/2011/05/04/qt-4-7-3-and-qt-mobility-1-1-3-have-been-released/ is available now for commercial app development and deployment on Ovi store.<br />&quot;Qt Mobility 1.2.0 release&amp;quot;:http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ is available now.


==Summary==
= Contacts API =


The Qt Contacts <span class="caps">API</span> lets you access addressbook data (people, organizations, groups etc), and perform different operations on them. The Qt Mobility 1.1 technical preview extends the Qt Mobility 1.0 package with a few additions:
== Summary ==


* Better support for <span class="caps">IPC</span> and the metaobject system
The Qt Contacts API lets you access addressbook data (people, organizations, groups etc), and perform different operations on them. The Qt Mobility 1.1 technical preview extends the Qt Mobility 1.0 package with a few additions:
 
* Better support for IPC and the metaobject system
** Streaming operators for serializing several different classes
** Streaming operators for serializing several different classes
** Metatype and related Qt metaobject system enhancements
** Metatype and related Qt metaobject system enhancements
Line 20: Line 22:
** Plugin-based, allows third-party developers to implement and provide functionality to clients
** Plugin-based, allows third-party developers to implement and provide functionality to clients


* <span class="caps">QML</span> Support
* QML Support
** Bindings to allow clients to access contacts functionality from <span class="caps">QML</span> via QtDeclarative plugins
** Bindings to allow clients to access contacts functionality from QML via QtDeclarative plugins
** Build next-generation, fluidly animated user interfaces for social applications
** Build next-generation, fluidly animated user interfaces for social applications


Some implementation work is ongoing, and some areas of the <span class="caps">API</span> are subject to change (in particular, the QContactAction-related <span class="caps">API</span>).
Some implementation work is ongoing, and some areas of the API are subject to change (in particular, the QContactAction-related API).


==Key features==
== Key features ==


* Create/Filter/Update/Delete contacts and relationships between contacts
* Create/Filter/Update/Delete contacts and relationships between contacts
Line 32: Line 34:
* Third-party providers can write plugins which allow access to different contact sources (device, device clouds, online clouds, etc)
* Third-party providers can write plugins which allow access to different contact sources (device, device clouds, online clouds, etc)


==Example applications!==
== Example applications! ==
 
There are two primary example applications:


* [http://doc.qt.nokia.com/qtmobility/samplephonebook.html samplephonebook] ''[doc.qt.nokia.com]''
There are two primary example applications:<br />* &quot;samplephonebook&amp;quot;:http://doc.qt.nokia.com/qtmobility/samplephonebook.html<br />* &quot;qmlcontacts&amp;quot;:http://qt.gitorious.org/qt-mobility/contacts/blobs/0da688661903b1d4270929e49b7a9f1c7af37e7f/demos/qmlcontacts/example-contact-view.qml
* [http://qt.gitorious.org/qt-mobility/contacts/blobs/0da688661903b1d4270929e49b7a9f1c7af37e7f/demos/qmlcontacts/example-contact-view.qml qmlcontacts] ''[qt.gitorious.org]''


==<span class="caps">API</span> Reference==
== API Reference ==


* http://doc.qt.nokia.com/qtmobility/contacts.html (Qt Mobility 1.1)
* http://doc.qt.nokia.com/qtmobility/contacts.html (Qt Mobility 1.1)
* http://doc.qt.nokia.com/qtmobility-1.2/contacts.html (Qt Mobility 1.2)
* http://doc.qt.nokia.com/qtmobility-1.2/contacts.html (Qt Mobility 1.2)
===Categories:===
* [[:Category:Developing with Qt|Developing_with_Qt]]
** [[:Category:Developing with Qt::QtMobility|QtMobility]]

Revision as of 10:18, 24 February 2015

English Spanish

News

"Qt Mobility 1.1.3 Release&quot;:http://labs.qt.nokia.com/2011/05/04/qt-4-7-3-and-qt-mobility-1-1-3-have-been-released/ is available now for commercial app development and deployment on Ovi store.
"Qt Mobility 1.2.0 release&quot;:http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ is available now.

Contacts API

Summary

The Qt Contacts API lets you access addressbook data (people, organizations, groups etc), and perform different operations on them. The Qt Mobility 1.1 technical preview extends the Qt Mobility 1.0 package with a few additions:

  • Better support for IPC and the metaobject system
    • Streaming operators for serializing several different classes
    • Metatype and related Qt metaobject system enhancements
  • Contact actions
    • Lets you actually do things to the retrieved data (e.g. send a text, dial a pizza etc)
    • Also boring things (view/edit in native addressbook etc)
    • Plugin-based, allows third-party developers to implement and provide functionality to clients
  • QML Support
    • Bindings to allow clients to access contacts functionality from QML via QtDeclarative plugins
    • Build next-generation, fluidly animated user interfaces for social applications

Some implementation work is ongoing, and some areas of the API are subject to change (in particular, the QContactAction-related API).

Key features

  • Create/Filter/Update/Delete contacts and relationships between contacts
  • Perform actions in a cross-platform manner on contacts
  • Third-party providers can write plugins which allow access to different contact sources (device, device clouds, online clouds, etc)

Example applications!

There are two primary example applications:
* "samplephonebook&quot;:http://doc.qt.nokia.com/qtmobility/samplephonebook.html
* "qmlcontacts&quot;:http://qt.gitorious.org/qt-mobility/contacts/blobs/0da688661903b1d4270929e49b7a9f1c7af37e7f/demos/qmlcontacts/example-contact-view.qml

API Reference