Home · Modules · All Classes · All Namespaces
Public Member Functions | List of all members
Tp::ContactPresences Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, LastActivityAndStatuses >.

Public Member Functions

 ContactPresences ()
 
 ContactPresences (const QMap< uint, LastActivityAndStatuses > &a)
 
 ContactPresences (std::initializer_list< std::pair< uint, LastActivityAndStatuses > > a)
 
ContactPresencesoperator= (const QMap< uint, LastActivityAndStatuses > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, LastActivityAndStatuses>, but needed to have a discrete type in the Qt type system.

Mapping returned by GetPresence and signalled by PresenceUpdate, where the keys are contacts and the values represent their presences.

Constructor & Destructor Documentation

◆ ContactPresences() [1/3]

Tp::ContactPresences::ContactPresences ( )
inline

◆ ContactPresences() [2/3]

Tp::ContactPresences::ContactPresences ( const QMap< uint, LastActivityAndStatuses > &  a)
inline

◆ ContactPresences() [3/3]

Tp::ContactPresences::ContactPresences ( std::initializer_list< std::pair< uint, LastActivityAndStatuses > >  a)
inline

Member Function Documentation

◆ operator=()

ContactPresences& Tp::ContactPresences::operator= ( const QMap< uint, LastActivityAndStatuses > &  a)
inline