| Home · All Classes · All Namespaces · Modules · Functions · Files |
Base class for channel implementations. More...
#include <TelepathyQt/BaseChannel>
Inherits Tp::DBusService.
Base class for channel implementations.
| Tp::BaseChannel::~BaseChannel | ( | ) | [virtual] |
Class destructor.
| Tp::BaseChannel::BaseChannel | ( | const QDBusConnection & | dbusConnection, |
| BaseConnection * | connection, | ||
| const QString & | channelType, | ||
| uint | targetHandleType, | ||
| uint | targetHandle | ||
| ) | [protected] |
| static BaseChannelPtr Tp::BaseChannel::create | ( | BaseConnection * | connection, |
| const QString & | channelType, | ||
| Tp::HandleType | targetHandleType = Tp::HandleTypeNone, |
||
| uint | targetHandle = 0 |
||
| ) | [inline, static] |
| QVariantMap Tp::BaseChannel::immutableProperties | ( | ) | const [virtual] |
Return the immutable properties of this channel object.
Immutable properties cannot change after the object has been registered on the bus with registerObject().
Implements Tp::DBusService.
| bool Tp::BaseChannel::registerObject | ( | DBusError * | error = NULL | ) |
| QString Tp::BaseChannel::uniqueName | ( | ) | const [virtual] |
Return a unique name for this channel.
| QString Tp::BaseChannel::channelType | ( | ) | const |
| QList< AbstractChannelInterfacePtr > Tp::BaseChannel::interfaces | ( | ) | const |
| AbstractChannelInterfacePtr Tp::BaseChannel::interface | ( | const QString & | interfaceName | ) | const |
Return a pointer to the interface with the given name.
| interfaceName | The D-Bus name of the interface, ex. TP_QT_IFACE_PROTOCOL_INTERFACE_ADDRESSING. |
| uint Tp::BaseChannel::targetHandle | ( | ) | const |
| QString Tp::BaseChannel::targetID | ( | ) | const |
| uint Tp::BaseChannel::targetHandleType | ( | ) | const |
| bool Tp::BaseChannel::requested | ( | ) | const |
| uint Tp::BaseChannel::initiatorHandle | ( | ) | const |
| QString Tp::BaseChannel::initiatorID | ( | ) | const |
| Tp::ChannelDetails Tp::BaseChannel::details | ( | ) | const |
| void Tp::BaseChannel::setInitiatorHandle | ( | uint | initiatorHandle | ) |
| void Tp::BaseChannel::setInitiatorID | ( | const QString & | initiatorID | ) |
| void Tp::BaseChannel::setTargetID | ( | const QString & | targetID | ) |
| void Tp::BaseChannel::setRequested | ( | bool | requested | ) |
| void Tp::BaseChannel::close | ( | ) |
| bool Tp::BaseChannel::plugInterface | ( | const AbstractChannelInterfacePtr & | interface | ) |
Plug a new interface into this Protocol D-Bus object.
This property is immutable and cannot change after this Protocol object has been registered on the bus with registerObject().
| interface | An AbstractProtocolInterface instance that implements the interface that is to be plugged. |
true on success or false otherwise | void Tp::BaseChannel::closed | ( | ) | [signal] |
| bool Tp::BaseChannel::registerObject | ( | const QString & | busName, |
| const QString & | objectPath, | ||
| DBusError * | error | ||
| ) | [protected, virtual] |
Reimplemented from DBusService.
Reimplemented from Tp::DBusService.
| Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.6.1 |