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

Base class for implementations of Channel.Type.Text. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback1< void, QString > MessageAcknowledgedCallback
 

Public Member Functions

virtual ~BaseChannelTextType ()
 
void setMessageAcknowledgedCallback (const MessageAcknowledgedCallback &cb)
 
Tp::MessagePartListList pendingMessages () const
 
void addReceivedMessage (const Tp::MessagePartList &message)
 
void acknowledgePendingMessages (const QStringList &tokens, DBusError *error)
 
- 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 BaseChannelTextTypePtr create (BaseChannel *channel)
 
template<typename BaseChannelTextTypeSubclass >
static SharedPtr< BaseChannelTextTypeSubclass > create (BaseChannel *channel)
 

Protected Member Functions

 BaseChannelTextType (BaseChannel *channel)
 
void acknowledgePendingMessages (const Tp::UIntList &IDs, DBusError *error)
 
void removePendingMessages (const Tp::UIntList &IDs)
 
- 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.Type.Text.

Member Typedef Documentation

◆ MessageAcknowledgedCallback

Constructor & Destructor Documentation

◆ ~BaseChannelTextType()

Tp::BaseChannelTextType::~BaseChannelTextType ( )
virtual

Class destructor.

◆ BaseChannelTextType()

Tp::BaseChannelTextType::BaseChannelTextType ( BaseChannel channel)
protected

Class constructor.

Member Function Documentation

◆ create() [1/2]

static BaseChannelTextTypePtr Tp::BaseChannelTextType::create ( BaseChannel channel)
inlinestatic

◆ create() [2/2]

template<typename BaseChannelTextTypeSubclass >
static SharedPtr<BaseChannelTextTypeSubclass> Tp::BaseChannelTextType::create ( BaseChannel channel)
inlinestatic

◆ setMessageAcknowledgedCallback()

void Tp::BaseChannelTextType::setMessageAcknowledgedCallback ( const MessageAcknowledgedCallback cb)

◆ pendingMessages()

Tp::MessagePartListList Tp::BaseChannelTextType::pendingMessages ( ) const

◆ addReceivedMessage()

void Tp::BaseChannelTextType::addReceivedMessage ( const Tp::MessagePartList message)

◆ acknowledgePendingMessages() [1/2]

void Tp::BaseChannelTextType::acknowledgePendingMessages ( const QStringList &  tokens,
DBusError error 
)

◆ acknowledgePendingMessages() [2/2]

void Tp::BaseChannelTextType::acknowledgePendingMessages ( const Tp::UIntList IDs,
DBusError error 
)
protected

◆ removePendingMessages()

void Tp::BaseChannelTextType::removePendingMessages ( const Tp::UIntList IDs)
protected