~ken-vandine/address-book-app/add_profile

« back to all changes in this revision

Viewing changes to src/imports/Common/ContactDetailBase.qml

  • Committer: CI bot
  • Author(s): Tarmac, Renato Araujo Oliveira Filho
  • Date: 2014-07-04 14:55:22 UTC
  • mfrom: (169.22.12 release-2014-07-02)
  • Revision ID: ps-jenkins@lists.canonical.com-20140704145522-7r65oy9m1zarc7yz
* Implemented MostCalledContactsModel in C++ as a proxy model for HistoryEventModel;
* Enabled share button again.
* Fixed build warning: comparison with string literal results in unspecified behavior;
* Implemented swipe to delete. Fixes: 1323577

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        imMap[QtContacts.OnlineAccount.Protocol] = "imProtocol"
61
61
        imMap[QtContacts.OnlineAccount.Capabilities] = "imCaps"
62
62
 
 
63
        // organization
 
64
        var organizationMap = {}
 
65
        organizationMap[QtContacts.Organization.Name] = 'orgName'
 
66
        organizationMap[QtContacts.Organization.Role] = 'orgRole'
 
67
        organizationMap[QtContacts.Organization.Title] = 'orgTitle'
 
68
 
63
69
        // SyncTarget
64
70
        var syncTargetMap = {}
65
71
        syncTargetMap[QtContacts.SyncTarget.SyncTarget] = "syncTarget"
71
77
        detailMap[QtContacts.ContactDetail.Email] = emailMap
72
78
        detailMap[QtContacts.ContactDetail.Address] = addressMap
73
79
        detailMap[QtContacts.ContactDetail.OnlineAccount] = imMap
 
80
        detailMap[QtContacts.ContactDetail.Organization] = organizationMap
74
81
        detailMap[QtContacts.ContactDetail.SyncTarget] = syncTargetMap
75
82
 
76
83
        // detail name