Home · Modules · All Classes · All Namespaces
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 ()
 
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
 
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 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

◆ GetClientTypesCallback

◆ RequestClientTypesCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionClientTypesInterface()

Tp::BaseConnectionClientTypesInterface::~BaseConnectionClientTypesInterface ( )
virtual

Class destructor.

◆ BaseConnectionClientTypesInterface()

Tp::BaseConnectionClientTypesInterface::BaseConnectionClientTypesInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionClientTypesInterfacePtr Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr<BaseConnectionClientTypesInterfaceSubclass> Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic

◆ setGetClientTypesCallback()

void Tp::BaseConnectionClientTypesInterface::setGetClientTypesCallback ( const GetClientTypesCallback cb)

◆ getClientTypes()

Tp::ContactClientTypes Tp::BaseConnectionClientTypesInterface::getClientTypes ( const Tp::UIntList contacts,
DBusError error 
)

◆ setRequestClientTypesCallback()

void Tp::BaseConnectionClientTypesInterface::setRequestClientTypesCallback ( const RequestClientTypesCallback cb)

◆ requestClientTypes()

QStringList Tp::BaseConnectionClientTypesInterface::requestClientTypes ( uint  contact,
DBusError error 
)

◆ clientTypesUpdated()

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