Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseConnectionContactInfoInterface Class Reference

Base class for implementations of Connection.Interface.Contact.Info. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< Tp::ContactInfoMap, const Tp::UIntList &, DBusError * > GetContactInfoCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > RefreshContactInfoCallback
 
typedef Callback2< Tp::ContactInfoFieldList, uint, DBusError * > RequestContactInfoCallback
 
typedef Callback2< void, const Tp::ContactInfoFieldList &, DBusError * > SetContactInfoCallback
 

Public Member Functions

virtual ~BaseConnectionContactInfoInterface ()
 
Tp::ContactInfoFlags contactInfoFlags () const
 
void setContactInfoFlags (const Tp::ContactInfoFlags &contactInfoFlags)
 
Tp::FieldSpecs supportedFields () const
 
void setSupportedFields (const Tp::FieldSpecs &supportedFields)
 
void setGetContactInfoCallback (const GetContactInfoCallback &cb)
 
Tp::ContactInfoMap getContactInfo (const Tp::UIntList &contacts, DBusError *error)
 
void setRefreshContactInfoCallback (const RefreshContactInfoCallback &cb)
 
void refreshContactInfo (const Tp::UIntList &contacts, DBusError *error)
 
void setRequestContactInfoCallback (const RequestContactInfoCallback &cb)
 
Tp::ContactInfoFieldList requestContactInfo (uint contact, DBusError *error)
 
void setSetContactInfoCallback (const SetContactInfoCallback &cb)
 
void setContactInfo (const Tp::ContactInfoFieldList &contactInfo, DBusError *error)
 
void contactInfoChanged (uint contact, const Tp::ContactInfoFieldList &contactInfo)
 
- 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 BaseConnectionContactInfoInterfacePtr create ()
 
template<typename BaseConnectionContactInfoInterfaceSubclass >
static SharedPtr< BaseConnectionContactInfoInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactInfoInterface ()
 
- 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.Contact.Info.

Member Typedef Documentation

◆ GetContactInfoCallback

◆ RefreshContactInfoCallback

◆ RequestContactInfoCallback

◆ SetContactInfoCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionContactInfoInterface()

Tp::BaseConnectionContactInfoInterface::~BaseConnectionContactInfoInterface ( )
virtual

Class destructor.

◆ BaseConnectionContactInfoInterface()

Tp::BaseConnectionContactInfoInterface::BaseConnectionContactInfoInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionContactInfoInterfacePtr Tp::BaseConnectionContactInfoInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionContactInfoInterfaceSubclass >
static SharedPtr<BaseConnectionContactInfoInterfaceSubclass> Tp::BaseConnectionContactInfoInterface::create ( )
inlinestatic

◆ contactInfoFlags()

Tp::ContactInfoFlags Tp::BaseConnectionContactInfoInterface::contactInfoFlags ( ) const

◆ setContactInfoFlags()

void Tp::BaseConnectionContactInfoInterface::setContactInfoFlags ( const Tp::ContactInfoFlags contactInfoFlags)

◆ supportedFields()

Tp::FieldSpecs Tp::BaseConnectionContactInfoInterface::supportedFields ( ) const

◆ setSupportedFields()

void Tp::BaseConnectionContactInfoInterface::setSupportedFields ( const Tp::FieldSpecs supportedFields)

◆ setGetContactInfoCallback()

void Tp::BaseConnectionContactInfoInterface::setGetContactInfoCallback ( const GetContactInfoCallback cb)

◆ getContactInfo()

Tp::ContactInfoMap Tp::BaseConnectionContactInfoInterface::getContactInfo ( const Tp::UIntList contacts,
DBusError error 
)

◆ setRefreshContactInfoCallback()

void Tp::BaseConnectionContactInfoInterface::setRefreshContactInfoCallback ( const RefreshContactInfoCallback cb)

◆ refreshContactInfo()

void Tp::BaseConnectionContactInfoInterface::refreshContactInfo ( const Tp::UIntList contacts,
DBusError error 
)

◆ setRequestContactInfoCallback()

void Tp::BaseConnectionContactInfoInterface::setRequestContactInfoCallback ( const RequestContactInfoCallback cb)

◆ requestContactInfo()

Tp::ContactInfoFieldList Tp::BaseConnectionContactInfoInterface::requestContactInfo ( uint  contact,
DBusError error 
)

◆ setSetContactInfoCallback()

void Tp::BaseConnectionContactInfoInterface::setSetContactInfoCallback ( const SetContactInfoCallback cb)

◆ setContactInfo()

void Tp::BaseConnectionContactInfoInterface::setContactInfo ( const Tp::ContactInfoFieldList contactInfo,
DBusError error 
)

◆ contactInfoChanged()

void Tp::BaseConnectionContactInfoInterface::contactInfoChanged ( uint  contact,
const Tp::ContactInfoFieldList contactInfo 
)