Home · All Classes · All Namespaces · Modules · Functions · Files |
Base class for implementations of Connection.Interface.Contacts. More...
#include <TelepathyQt/BaseConnection>
Inherits Tp::AbstractConnectionInterface.
Public Types | |
typedef Callback3< Tp::ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError * > | GetContactAttributesCallback |
Public Member Functions | |
virtual | ~BaseConnectionContactsInterface () |
QVariantMap | immutableProperties () const |
QStringList | contactAttributeInterfaces () const |
void | setContactAttributeInterfaces (const QStringList &contactAttributeInterfaces) |
void | setGetContactAttributesCallback (const GetContactAttributesCallback &cb) |
Tp::ContactAttributesMap | getContactAttributes (const Tp::UIntList &handles, const QStringList &interfaces, DBusError *error) |
void | getContactByID (const QString &identifier, const QStringList &interfaces, uint &handle, QVariantMap &attributes, DBusError *error) |
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 |
DBusObject * | dbusObject () 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 BaseConnectionContactsInterfacePtr | create () |
template<typename BaseConnectionContactsInterfaceSubclass > | |
static SharedPtr< BaseConnectionContactsInterfaceSubclass > | create () |
Protected Member Functions | |
BaseConnectionContactsInterface () | |
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) |
Base class for implementations of Connection.Interface.Contacts.
typedef Callback3<Tp::ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError*> Tp::BaseConnectionContactsInterface::GetContactAttributesCallback |
|
virtual |
Class destructor.
|
protected |
Class constructor.
|
inlinestatic |
|
inlinestatic |
|
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().
Implements Tp::AbstractDBusServiceInterface.
QStringList Tp::BaseConnectionContactsInterface::contactAttributeInterfaces | ( | ) | const |
void Tp::BaseConnectionContactsInterface::setContactAttributeInterfaces | ( | const QStringList & | contactAttributeInterfaces | ) |
void Tp::BaseConnectionContactsInterface::setGetContactAttributesCallback | ( | const GetContactAttributesCallback & | cb | ) |
Tp::ContactAttributesMap Tp::BaseConnectionContactsInterface::getContactAttributes | ( | const Tp::UIntList & | handles, |
const QStringList & | interfaces, | ||
DBusError * | error | ||
) |
void Tp::BaseConnectionContactsInterface::getContactByID | ( | const QString & | identifier, |
const QStringList & | interfaces, | ||
uint & | handle, | ||
QVariantMap & | attributes, | ||
DBusError * | error | ||
) |
|
protectedvirtual |
Reimplemented from Tp::AbstractConnectionInterface.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |