Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
Tp::BaseChannelTextType Class Reference

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

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

List of all members.

Public Types

typedef Callback2
< QDBusObjectPath, const
QVariantMap &, DBusError * > 
CreateChannelCallback
typedef Callback2< bool, const
QVariantMap &, DBusError * > 
EnsureChannelCallback
typedef Callback1< void, QString > MessageAcknowledgedCallback

Public Member Functions

virtual ~BaseChannelTextType ()
QVariantMap immutableProperties () const
void setMessageAcknowledgedCallback (const MessageAcknowledgedCallback &cb)
Tp::MessagePartListList pendingMessages ()
void addReceivedMessage (const Tp::MessagePartList &message)

Static Public Member Functions

static BaseChannelTextTypePtr create (BaseChannel *channel)
template<typename BaseChannelTextTypeSubclass >
static SharedPtr
< BaseChannelTextTypeSubclass > 
create (BaseChannel *channel)

Public Attributes

CreateChannelCallback createChannel
EnsureChannelCallback ensureChannel
Tp::RequestableChannelClassList requestableChannelClasses

Protected Member Functions

 BaseChannelTextType (BaseChannel *channel)
void acknowledgePendingMessages (const Tp::UIntList &IDs, DBusError *error)

Detailed Description

Base class for implementations of Channel.Type.Text.


Member Typedef Documentation

typedef Callback2<QDBusObjectPath, const QVariantMap&, DBusError*> Tp::BaseChannelTextType::CreateChannelCallback

Constructor & Destructor Documentation

Class destructor.

Class constructor.


Member Function Documentation

static BaseChannelTextTypePtr Tp::BaseChannelTextType::create ( BaseChannel channel) [inline, static]
template<typename BaseChannelTextTypeSubclass >
static SharedPtr<BaseChannelTextTypeSubclass> Tp::BaseChannelTextType::create ( BaseChannel channel) [inline, static]
QVariantMap Tp::BaseChannelTextType::immutableProperties ( ) const [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().

Returns:
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

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

Member Data Documentation


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7