KTp/Tasks/ModelRoles: Difference between revisions
Appearance
Line 36: | Line 36: | ||
| MediaCallCapabilityRole || bool || ??? | | MediaCallCapabilityRole || bool || ??? | ||
|- | |- | ||
| NicknameRole || || | | NicknameRole || ||???? | ||
|- | |- | ||
| OnlineUsersCountRole || number of online contacts in this group | | OnlineUsersCountRole || number of online contacts in this group | ||
Line 54: | Line 54: | ||
| TotalUsersCountRole ||int ||total users in this group | | TotalUsersCountRole ||int ||total users in this group | ||
|- | |- | ||
| TypeRole || | | TypeRole || ??? || ??? | ||
|- | |- | ||
| VideoCallCapabilityRole ||bool || both you + remote can video call | | VideoCallCapabilityRole ||bool || both you + remote can video call | ||
|} | |} | ||
===NEW Role Requests=== | ===NEW Role Requests=== |
Revision as of 19:33, 24 January 2013
Old Roles
AccountRole||Tp::AccountPtrOriginal Role | Type | Comment |
---|---|---|
Qt::DisplayRole | Contact's alias OR account name OR readable group name | |
AliasRole | Contact's alias | |
AudioCallCapabilityRole | bool | both you can remote can audio call |
AvatarRole | TODO | contact's avatar |
BlockedRole | bool | isBlocked |
ClientTypesRole | QStringList | client types from Tp::Contact |
ContactRole | Tp::ContactPtr | |
DesktopSharingCapabilityRole | bool | both you and remote can desktop share |
FileTransferCapabilityRole | bool | both you and remote can file transfer |
GroupsRole | no idea, probably deprecated | ?? |
IconRole | ?? | ?? |
IdRole | string | contact ID or account ID or group ID as appropriate |
index | ???? | ? ? ? ? ? ? ? |
ItemRole | deprecated | |
MediaCallCapabilityRole | bool | ??? |
NicknameRole | ???? | |
OnlineUsersCountRole | number of online contacts in this group | |
PresenceMessageRole | string - status message | |
PresenceRole | Tp::Presence | Should use KTp::Presence |
PresenceTypeRole | enum | |
RowType | enum | either AccountsRowType, ContactsRowType, GroupRowType |
SSHContactCapabilityRole | bool | both you + remote can SSH contact |
TextChatCapabilityRole | bool | both you + remote can text chat |
TotalUsersCountRole | int | total users in this group |
TypeRole | ??? | ??? |
VideoCallCapabilityRole | bool | both you + remote can video call |
NEW Role Requests
Roles for:
- unread message count - hasTextChannel