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

Base class for implementations of Channel.Interface.Chat.State. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, uint, DBusError * > SetChatStateCallback
 

Public Member Functions

virtual ~BaseChannelChatStateInterface ()
 
Tp::ChatStateMap chatStates () const
 
void setChatStates (const Tp::ChatStateMap &chatStates)
 
void setSetChatStateCallback (const SetChatStateCallback &cb)
 
void setChatState (uint state, DBusError *error)
 
void chatStateChanged (uint contact, uint state)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- 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 BaseChannelChatStateInterfacePtr create ()
 
template<typename BaseChannelChatStateInterfaceSubclass >
static SharedPtr< BaseChannelChatStateInterfaceSubclass > create ()
 

Protected Member Functions

 BaseChannelChatStateInterface ()
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- 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 Channel.Interface.Chat.State.

Member Typedef Documentation

◆ SetChatStateCallback

Constructor & Destructor Documentation

◆ ~BaseChannelChatStateInterface()

Tp::BaseChannelChatStateInterface::~BaseChannelChatStateInterface ( )
virtual

Class destructor.

◆ BaseChannelChatStateInterface()

Tp::BaseChannelChatStateInterface::BaseChannelChatStateInterface ( )
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseChannelChatStateInterfacePtr Tp::BaseChannelChatStateInterface::create ( )
inlinestatic

◆ create() [2/2]

template<typename BaseChannelChatStateInterfaceSubclass >
static SharedPtr<BaseChannelChatStateInterfaceSubclass> Tp::BaseChannelChatStateInterface::create ( )
inlinestatic

◆ chatStates()

Tp::ChatStateMap Tp::BaseChannelChatStateInterface::chatStates ( ) const

◆ setChatStates()

void Tp::BaseChannelChatStateInterface::setChatStates ( const Tp::ChatStateMap chatStates)

◆ setSetChatStateCallback()

void Tp::BaseChannelChatStateInterface::setSetChatStateCallback ( const SetChatStateCallback cb)

◆ setChatState()

void Tp::BaseChannelChatStateInterface::setChatState ( uint  state,
DBusError error 
)

◆ chatStateChanged()

void Tp::BaseChannelChatStateInterface::chatStateChanged ( uint  contact,
uint  state 
)