Home · All Classes · All Namespaces · Modules · Functions · Files
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 ()
 
QVariantMap immutableProperties () const
 
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
 
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

Constructor & Destructor Documentation

Tp::BaseConnectionContactCapabilitiesInterface::~BaseConnectionContactCapabilitiesInterface ( )
virtual

Class destructor.

Tp::BaseConnectionContactCapabilitiesInterface::BaseConnectionContactCapabilitiesInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionContactCapabilitiesInterfacePtr Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic
template<typename BaseConnectionContactCapabilitiesInterfaceSubclass >
static SharedPtr<BaseConnectionContactCapabilitiesInterfaceSubclass> Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionContactCapabilitiesInterface::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.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseConnectionContactCapabilitiesInterface::setUpdateCapabilitiesCallback ( const UpdateCapabilitiesCallback cb)
void Tp::BaseConnectionContactCapabilitiesInterface::updateCapabilities ( const Tp::HandlerCapabilitiesList handlerCapabilities,
DBusError error 
)
void Tp::BaseConnectionContactCapabilitiesInterface::setGetContactCapabilitiesCallback ( const GetContactCapabilitiesCallback cb)
Tp::ContactCapabilitiesMap Tp::BaseConnectionContactCapabilitiesInterface::getContactCapabilities ( const Tp::UIntList handles,
DBusError error 
)
void Tp::BaseConnectionContactCapabilitiesInterface::contactCapabilitiesChanged ( const Tp::ContactCapabilitiesMap caps)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7