Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
Tp::BaseConnectionClientTypesInterface Class Reference

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

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

List of all members.

Public Types

typedef Callback2
< Tp::ContactClientTypes,
const Tp::UIntList
&, DBusError * > 
GetClientTypesCallback
typedef Callback2< QStringList,
uint, DBusError * > 
RequestClientTypesCallback

Public Member Functions

virtual ~BaseConnectionClientTypesInterface ()
QVariantMap immutableProperties () const
void setGetClientTypesCallback (const GetClientTypesCallback &cb)
Tp::ContactClientTypes getClientTypes (const Tp::UIntList &contacts, DBusError *error)
void setRequestClientTypesCallback (const RequestClientTypesCallback &cb)
QStringList requestClientTypes (uint contact, DBusError *error)
void clientTypesUpdated (uint contact, const QStringList &clientTypes)

Static Public Member Functions

static
BaseConnectionClientTypesInterfacePtr 
create ()
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr
< BaseConnectionClientTypesInterfaceSubclass > 
create ()

Protected Member Functions

 BaseConnectionClientTypesInterface ()

Detailed Description

Base class for implementations of Connection.Interface.ClientTypes.


Member Typedef Documentation


Constructor & Destructor Documentation

Class destructor.

Class constructor.


Member Function Documentation

static BaseConnectionClientTypesInterfacePtr Tp::BaseConnectionClientTypesInterface::create ( ) [inline, static]
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr<BaseConnectionClientTypesInterfaceSubclass> Tp::BaseConnectionClientTypesInterface::create ( ) [inline, static]

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.

QStringList Tp::BaseConnectionClientTypesInterface::requestClientTypes ( uint  contact,
DBusError error 
)
void Tp::BaseConnectionClientTypesInterface::clientTypesUpdated ( uint  contact,
const QStringList &  clientTypes 
)


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