Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[nemo-qml-plugin-contacts] Update plugins.qmltypes. Contributes to JB…
…#52306
  • Loading branch information
martyone committed Dec 16, 2020
1 parent b07ca5f commit 13e43df
Showing 1 changed file with 83 additions and 1 deletion.
84 changes: 83 additions & 1 deletion src/plugins.qmltypes
Expand Up @@ -26,6 +26,57 @@ Module {
Parameter { name: "contacts"; type: "QVariantList" }
}
}
Component {
name: "SeasideAddressBook"
exports: ["org.nemomobile.contacts/AddressBook 1.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property { name: "id"; type: "string"; isReadonly: true }
Property { name: "name"; type: "string" }
Property { name: "color"; type: "QColor" }
Property { name: "secondaryColor"; type: "QColor" }
Property { name: "image"; type: "string" }
Property { name: "extendedMetaData"; type: "QVariantMap" }
Property { name: "accountId"; type: "int" }
Property { name: "isAggregate"; type: "bool" }
Property { name: "isLocal"; type: "bool" }
Property { name: "readOnly"; type: "bool" }
}
Component {
name: "SeasideAddressBookModel"
prototype: "QAbstractListModel"
exports: ["org.nemomobile.contacts/AddressBookModel 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Role"
values: {
"AddressBookRole": 256
}
}
Property { name: "count"; type: "int"; isReadonly: true }
Property { name: "contactId"; type: "int" }
Method {
name: "addressBookAt"
type: "QVariant"
Parameter { name: "index"; type: "int" }
}
}
Component {
name: "SeasideAddressBookUtil"
prototype: "QObject"
exports: ["org.nemomobile.contacts/AddressBookUtil 1.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property { name: "addressBooks"; type: "QVariantList"; isReadonly: true }
}
Component {
name: "SeasideConstituentModel"
prototype: "SeasideSimpleContactModel"
exports: ["org.nemomobile.contacts/ConstituentModel 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "person"; type: "SeasidePerson"; isPointer: true }
}
Component {
name: "SeasideDisplayLabelGroupModel"
prototype: "QAbstractListModel"
Expand Down Expand Up @@ -137,7 +188,8 @@ Module {
"TitleRole": 277,
"RoleRole": 278,
"NameDetailsRole": 279,
"FilterMatchDataRole": 280
"FilterMatchDataRole": 280,
"AddressBookRole": 281
}
}
Property { name: "populated"; type: "bool"; isReadonly: true }
Expand Down Expand Up @@ -173,6 +225,11 @@ Module {
type: "bool"
Parameter { name: "person"; type: "SeasidePerson"; isPointer: true }
}
Method {
name: "savePeople"
type: "bool"
Parameter { name: "people"; type: "QVariantList" }
}
Method {
name: "personByRow"
type: "SeasidePerson*"
Expand Down Expand Up @@ -248,6 +305,13 @@ Module {
Parameter { name: "pattern"; type: "string" }
}
}
Component {
name: "SeasideMergeCandidateModel"
prototype: "SeasideSimpleContactModel"
exports: ["org.nemomobile.contacts/MergeCandidateModel 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "person"; type: "SeasidePerson"; isPointer: true }
}
Component {
name: "SeasidePerson"
prototype: "QObject"
Expand Down Expand Up @@ -369,11 +433,13 @@ Module {
Property { name: "addressDetails"; type: "QVariantList" }
Property { name: "websiteDetails"; type: "QVariantList" }
Property { name: "birthday"; type: "QDateTime" }
Property { name: "birthdayDetail"; type: "QVariantMap"; isReadonly: true }
Property { name: "anniversaryDetails"; type: "QVariantList" }
Property { name: "globalPresenceState"; type: "PresenceState"; isReadonly: true }
Property { name: "accountDetails"; type: "QVariantList" }
Property { name: "noteDetails"; type: "QVariantList" }
Property { name: "syncTarget"; type: "string"; isReadonly: true }
Property { name: "addressBook"; type: "SeasideAddressBook" }
Property { name: "constituents"; type: "QList<int>"; isReadonly: true }
Property { name: "mergeCandidates"; type: "QList<int>"; isReadonly: true }
Property { name: "resolving"; type: "bool"; isReadonly: true }
Expand Down Expand Up @@ -498,6 +564,22 @@ Module {
Parameter { name: "emailAddresses"; type: "QVariantList" }
}
}
Component {
name: "SeasideSimpleContactModel"
prototype: "QAbstractListModel"
Enum {
name: "Role"
values: {
"IdRole": 256,
"PrimaryNameRole": 257,
"SecondaryNameRole": 258,
"DisplayLabelRole": 259,
"AddressBookRole": 260
}
}
Property { name: "populated"; type: "bool"; isReadonly: true }
Property { name: "count"; type: "int"; isReadonly: true }
}
Component {
name: "SeasideVCardModel"
prototype: "QAbstractListModel"
Expand Down

0 comments on commit 13e43df

Please sign in to comment.