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

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

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< void, const Tp::HandlerCapabilitiesList &, DBusError * > UpdateCapabilitiesCallback
 
typedef Callback2< Tp::ContactCapabilitiesMap, const Tp::UIntList &, DBusError * > GetContactCapabilitiesCallback
 

Public Member Functions

virtual ~BaseConnectionContactCapabilitiesInterface ()
 
void setUpdateCapabilitiesCallback (const UpdateCapabilitiesCallback &cb)
 
void updateCapabilities (const Tp::HandlerCapabilitiesList &handlerCapabilities, DBusError *error)
 
void setGetContactCapabilitiesCallback (const GetContactCapabilitiesCallback &cb)
 
Tp::ContactCapabilitiesMap getContactCapabilities (const Tp::UIntList &handles, DBusError *error)
 
void contactCapabilitiesChanged (const Tp::ContactCapabilitiesMap &caps)
 
- 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
 
virtual QVariantMap immutableProperties () 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 BaseConnectionContactCapabilitiesInterfacePtr create ()
 
template<typename BaseConnectionContactCapabilitiesInterfaceSubclass >
static SharedPtr< BaseConnectionContactCapabilitiesInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactCapabilitiesInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual 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.ContactCapabilities.

Member Typedef Documentation

◆ UpdateCapabilitiesCallback

◆ GetContactCapabilitiesCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionContactCapabilitiesInterface()

Tp::BaseConnectionContactCapabilitiesInterface::~BaseConnectionContactCapabilitiesInterface ( )
virtual

Class destructor.

◆ BaseConnectionContactCapabilitiesInterface()

Tp::BaseConnectionContactCapabilitiesInterface::BaseConnectionContactCapabilitiesInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionContactCapabilitiesInterfacePtr Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionContactCapabilitiesInterfaceSubclass >
static SharedPtr<BaseConnectionContactCapabilitiesInterfaceSubclass> Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic

◆ setUpdateCapabilitiesCallback()

void Tp::BaseConnectionContactCapabilitiesInterface::setUpdateCapabilitiesCallback ( const UpdateCapabilitiesCallback cb)

◆ updateCapabilities()

void Tp::BaseConnectionContactCapabilitiesInterface::updateCapabilities ( const Tp::HandlerCapabilitiesList handlerCapabilities,
DBusError error 
)

◆ setGetContactCapabilitiesCallback()

void Tp::BaseConnectionContactCapabilitiesInterface::setGetContactCapabilitiesCallback ( const GetContactCapabilitiesCallback cb)

◆ getContactCapabilities()

Tp::ContactCapabilitiesMap Tp::BaseConnectionContactCapabilitiesInterface::getContactCapabilities ( const Tp::UIntList handles,
DBusError error 
)

◆ contactCapabilitiesChanged()

void Tp::BaseConnectionContactCapabilitiesInterface::contactCapabilitiesChanged ( const Tp::ContactCapabilitiesMap caps)