AccountModel QML Type
Provides a model of existing accounts More...
| Import Statement: | import Sailfish.Accounts 1.0 |
Properties
Detailed Description
The AccountModel can be used to provide account data to a view. For each account in the database, it exposes the following roles:
accountId
accountDisplayName
accountIcon
providerName
providerDisplayName
providerValid
accountEnabled
accountError
Property Documentation
If the filter value is set, the model will only present those accounts whose property associated with the filterType matches the given filter value.
For example, if filterType is set to AccountModel.ProviderFilter and filter is set to "facebook" then only accounts provided by the "facebook" provider will be presented in the model.
Enables filtering of the accounts presented by the model according to the value of the property of the account associated with the given filter type.
Valid filter types are:
| Constant | Value |
AccountModel.NoFilter |
AccountModel.ProviderFilter |
AccountModel.ServiceFilter |
AccountModel.ServiceTypeFilter |
AccountModel.ProvisionedFilter |