Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseConnectionContactsInterface Class Reference

Base class for implementations of Connection.Interface.Contacts. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback3< Tp::ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError * > GetContactAttributesCallback
 

Public Member Functions

virtual ~BaseConnectionContactsInterface ()
 
QVariantMap immutableProperties () const
 
QStringList contactAttributeInterfaces () const
 
void setContactAttributeInterfaces (const QStringList &contactAttributeInterfaces)
 
void setGetContactAttributesCallback (const GetContactAttributesCallback &cb)
 
Tp::ContactAttributesMap getContactAttributes (const Tp::UIntList &handles, const QStringList &interfaces, DBusError *error)
 
void getContactByID (const QString &identifier, const QStringList &interfaces, uint &handle, QVariantMap &attributes, DBusError *error)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactsInterfacePtr create ()
 
template<typename BaseConnectionContactsInterfaceSubclass >
static SharedPtr< BaseConnectionContactsInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactsInterface ()
 
void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Contacts.

Member Typedef Documentation

◆ GetContactAttributesCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionContactsInterface()

Tp::BaseConnectionContactsInterface::~BaseConnectionContactsInterface ( )
virtual

Class destructor.

◆ BaseConnectionContactsInterface()

Tp::BaseConnectionContactsInterface::BaseConnectionContactsInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionContactsInterfacePtr Tp::BaseConnectionContactsInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionContactsInterfaceSubclass >
static SharedPtr<BaseConnectionContactsInterfaceSubclass> Tp::BaseConnectionContactsInterface::create ( )
inlinestatic

◆ immutableProperties()

QVariantMap Tp::BaseConnectionContactsInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Reimplemented from Tp::AbstractDBusServiceInterface.

◆ contactAttributeInterfaces()

QStringList Tp::BaseConnectionContactsInterface::contactAttributeInterfaces ( ) const

◆ setContactAttributeInterfaces()

void Tp::BaseConnectionContactsInterface::setContactAttributeInterfaces ( const QStringList &  contactAttributeInterfaces)

◆ setGetContactAttributesCallback()

void Tp::BaseConnectionContactsInterface::setGetContactAttributesCallback ( const GetContactAttributesCallback cb)

◆ getContactAttributes()

Tp::ContactAttributesMap Tp::BaseConnectionContactsInterface::getContactAttributes ( const Tp::UIntList handles,
const QStringList &  interfaces,
DBusError error 
)

◆ getContactByID()

void Tp::BaseConnectionContactsInterface::getContactByID ( const QString &  identifier,
const QStringList &  interfaces,
uint &  handle,
QVariantMap &  attributes,
DBusError error 
)

◆ setBaseConnection()

void Tp::BaseConnectionContactsInterface::setBaseConnection ( BaseConnection connection)
protectedvirtual

Reimplemented from Tp::AbstractConnectionInterface.