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

Base class for implementations of Channel.Type.Call. 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,
DBusError * > 
AcceptCallback
typedef Callback4< void, uint,
const QString &, const QString
&, DBusError * > 
HangupCallback
typedef Callback1< void,
DBusError * > 
SetRingingCallback
typedef Callback1< void,
DBusError * > 
SetQueuedCallback
typedef Callback4
< QDBusObjectPath, const
QString &, const
Tp::MediaStreamType &, const
Tp::MediaStreamDirection
&, DBusError * > 
AddContentCallback

Public Member Functions

virtual ~BaseChannelCallType ()
QVariantMap immutableProperties () const
Tp::ObjectPathList contents ()
QVariantMap callStateDetails ()
uint callState ()
uint callFlags ()
Tp::CallStateReason callStateReason ()
bool hardwareStreaming ()
Tp::CallMemberMap callMembers ()
Tp::HandleIdentifierMap memberIdentifiers ()
uint initialTransport ()
bool initialAudio ()
bool initialVideo ()
QString initialAudioName ()
QString initialVideoName ()
bool mutableContents ()
void setAcceptCallback (const AcceptCallback &cb)
void setHangupCallback (const HangupCallback &cb)
void setSetRingingCallback (const SetRingingCallback &cb)
void setSetQueuedCallback (const SetQueuedCallback &cb)
void setAddContentCallback (const AddContentCallback &cb)
void setCallState (const Tp::CallState &state, uint flags, const Tp::CallStateReason &stateReason, const QVariantMap &callStateDetails)
void setMembersFlags (const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
BaseCallContentPtr addContent (const QString &name, const Tp::MediaStreamType &type, const Tp::MediaStreamDirection &direction)
void addContent (BaseCallContentPtr content)

Static Public Member Functions

static BaseChannelCallTypePtr create (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
template<typename BaseChannelCallTypeSubclass >
static SharedPtr
< BaseChannelCallTypeSubclass > 
create (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)

Public Attributes

CreateChannelCallback createChannel
EnsureChannelCallback ensureChannel
Tp::RequestableChannelClassList requestableChannelClasses

Protected Member Functions

 BaseChannelCallType (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)

Detailed Description

Base class for implementations of Channel.Type.Call.


Member Typedef Documentation

typedef Callback2<QDBusObjectPath, const QVariantMap&, DBusError*> Tp::BaseChannelCallType::CreateChannelCallback
typedef Callback4<void, uint, const QString &, const QString &, DBusError*> Tp::BaseChannelCallType::HangupCallback

Constructor & Destructor Documentation

Class destructor.

Tp::BaseChannelCallType::BaseChannelCallType ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
) [protected]

Class constructor.


Member Function Documentation

static BaseChannelCallTypePtr Tp::BaseChannelCallType::create ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
) [inline, static]
template<typename BaseChannelCallTypeSubclass >
static SharedPtr<BaseChannelCallTypeSubclass> Tp::BaseChannelCallType::create ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
) [inline, static]
QVariantMap Tp::BaseChannelCallType::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::BaseChannelCallType::setCallState ( const Tp::CallState state,
uint  flags,
const Tp::CallStateReason stateReason,
const QVariantMap &  callStateDetails 
)
void Tp::BaseChannelCallType::setMembersFlags ( const Tp::CallMemberMap flagsChanged,
const Tp::HandleIdentifierMap identifiers,
const Tp::UIntList removed,
const Tp::CallStateReason reason 
)
BaseCallContentPtr Tp::BaseChannelCallType::addContent ( const QString &  name,
const Tp::MediaStreamType type,
const Tp::MediaStreamDirection direction 
)
void Tp::BaseChannelCallType::addContent ( BaseCallContentPtr  content)

Member Data Documentation


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