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

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

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback3< uint, const QString &, const QString &, DBusError * > SetPresenceCallback
 

Public Member Functions

virtual ~BaseConnectionSimplePresenceInterface ()
 
Tp::SimpleStatusSpecMap statuses () const
 
void setStatuses (const Tp::SimpleStatusSpecMap &statuses)
 
uint maximumStatusMessageLength () const
 
void setMaximumStatusMessageLength (uint maximumStatusMessageLength)
 
void setSetPresenceCallback (const SetPresenceCallback &cb)
 
void setPresences (const Tp::SimpleContactPresences &presences)
 
Tp::SimpleContactPresences getPresences (const Tp::UIntList &contacts)
 
- 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 BaseConnectionSimplePresenceInterfacePtr create ()
 
template<typename BaseConnectionSimplePresenceInterfaceSubclass >
static SharedPtr< BaseConnectionSimplePresenceInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionSimplePresenceInterface ()
 
- 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.SimplePresence.

Member Typedef Documentation

◆ SetPresenceCallback

typedef Callback3<uint, const QString &, const QString &, DBusError*> Tp::BaseConnectionSimplePresenceInterface::SetPresenceCallback

Constructor & Destructor Documentation

◆ ~BaseConnectionSimplePresenceInterface()

Tp::BaseConnectionSimplePresenceInterface::~BaseConnectionSimplePresenceInterface ( )
virtual

Class destructor.

◆ BaseConnectionSimplePresenceInterface()

Tp::BaseConnectionSimplePresenceInterface::BaseConnectionSimplePresenceInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseConnectionSimplePresenceInterfacePtr Tp::BaseConnectionSimplePresenceInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseConnectionSimplePresenceInterfaceSubclass >
static SharedPtr<BaseConnectionSimplePresenceInterfaceSubclass> Tp::BaseConnectionSimplePresenceInterface::create ( )
inlinestatic

◆ statuses()

Tp::SimpleStatusSpecMap Tp::BaseConnectionSimplePresenceInterface::statuses ( ) const

◆ setStatuses()

void Tp::BaseConnectionSimplePresenceInterface::setStatuses ( const Tp::SimpleStatusSpecMap statuses)

◆ maximumStatusMessageLength()

uint Tp::BaseConnectionSimplePresenceInterface::maximumStatusMessageLength ( ) const

◆ setMaximumStatusMessageLength()

void Tp::BaseConnectionSimplePresenceInterface::setMaximumStatusMessageLength ( uint  maximumStatusMessageLength)

◆ setSetPresenceCallback()

void Tp::BaseConnectionSimplePresenceInterface::setSetPresenceCallback ( const SetPresenceCallback cb)

◆ setPresences()

void Tp::BaseConnectionSimplePresenceInterface::setPresences ( const Tp::SimpleContactPresences presences)

◆ getPresences()

SimpleContactPresences Tp::BaseConnectionSimplePresenceInterface::getPresences ( const Tp::UIntList contacts)