用QtContact 实现MeeGo通讯录(一)

本系列文章是基于QtContact一些研究,用来实现一个MeeGo中的通讯录。该通讯录可以和社交网络,及时通讯工具实现无缝连接。

1、首先看一下通讯录的架构图


2、通讯录中的基本数据类型


Data Type Description
QContactAddress Contains an address of a contact
QContactAnniversary Contains an anniversary of a contact
QContactAvatar Contains avatar URLs of a contact
QContactBirthday Contains a birthday of a contact
QContactDisplayLabel The (possibly synthesized) display label of a contact
QContactEmailAddress Contains an email address of a contact
QContactFamily Contains names of family members of a contact
QContactFavorite Indicates if a contact is a favorite contact as well as the position it should appear in an ordered list of favorites
QContactGender Contains the gender of a contact
QContactGeoLocation Contains a global location coordinate associated with a contact
QContactGlobalPresence Aggregated presence information for a contact, synthesized or supplied by the backend
QContactGuid Contains a globally unique Id of a contact, for use in synchronization with other data stores
QContactHobby Contains a hobby of the contact
QContactName Contains a name of a contact
QContactNickname Contains a nickname of a contact
QContactNote Contains a note associated with a contact
QContactOnlineAccount Online account, which the contact uses to communicate with friends and family
QContactOrganization Details about an organization that the contact is either a part of, or stands for
QContactPhoneNumber Phone number of a contact
QContactPresence Presence information for an online account of a contact
QContactRingtone Ringtone associated with a contact
QContactSyncTarget Sync target for a contact
QContactTag Contains a tag associated with a contact
QContactThumbnail Contains a thumbnail used in display lists to represent the contact
QContactTimestamp Contains the creation and last-modified timestamp associated with the contact
QContactType Describes the type of the contact
QContactUrl Contains a url associated with a contact


3.存储方案
目前Qt Contacts提供两种存储方案。
1.EDS;将在MeeGo 1.2及以后版本中使用。
2.Tracker;在MeeGo1.2及MeeGo Harmattan系统中使用,但是今后将不再使用,统一到EDS平台


4.存储实现步骤


在下一篇文章用QtContact 实现MeeGo通讯录(二)中将给出详细例子,如何搭建基本存储方法。


摘自英特尔软件网络:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值