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::BaseConnectionClientTypesInterface Class Reference

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

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

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)
 
- 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 BaseConnectionClientTypesInterfacePtr create ()
 
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr< BaseConnectionClientTypesInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionClientTypesInterface ()
 
- 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.ClientTypes.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionClientTypesInterface::~BaseConnectionClientTypesInterface ( )
virtual

Class destructor.

Tp::BaseConnectionClientTypesInterface::BaseConnectionClientTypesInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionClientTypesInterfacePtr Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr<BaseConnectionClientTypesInterfaceSubclass> Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionClientTypesInterface::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::BaseConnectionClientTypesInterface::setGetClientTypesCallback ( const GetClientTypesCallback cb)
Tp::ContactClientTypes Tp::BaseConnectionClientTypesInterface::getClientTypes ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionClientTypesInterface::setRequestClientTypesCallback ( const RequestClientTypesCallback cb)
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