~canonical-platform-qa/address-book-app/ux-call-msg-helpers

« back to all changes in this revision

Viewing changes to src/imports/ContactEdit/ContactDetailPhoneNumbersEditor.qml

  • Committer: Richard Huddie
  • Date: 2015-02-24 15:29:31 UTC
  • mfrom: (233.1.152 address-book-app)
  • Revision ID: richard.huddie@canonical.com-20150224152931-je68svpu19crio41
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 */
16
16
 
17
17
import QtQuick 2.2
18
 
import QtContacts 5.0 as QtContacts
 
18
import QtContacts 5.0
 
19
 
19
20
import Ubuntu.Contacts 0.1
20
21
 
21
 
import "../Common"
22
 
 
23
22
ContactDetailGroupWithTypeEditor {
24
23
    title: i18n.tr("Phone")
25
 
    detailType: QtContacts.ContactDetail.PhoneNumber
 
24
    detailType: ContactDetail.PhoneNumber
26
25
    detailQmlTypeName: "PhoneNumber"
27
 
    fields: [ QtContacts.PhoneNumber.Number ]
 
26
    fields: [ PhoneNumber.Number ]
28
27
    placeholderTexts: [ i18n.tr("Enter a number") ]
29
28
    typeModel: ContactDetailPhoneNumberTypeModel { }
30
29
    inputMethodHints: Qt.ImhDialableCharactersOnly