Home · All Classes · All Namespaces · Modules · Functions · Files |
This is the base class for all tube types. More...
#include <TelepathyQt4/TubeChannel>
Inherits Tp::Channel.
Inherited by Tp::StreamTubeChannel.
This is the base class for all tube types.
A tube is a mechanism for arbitrary data transfer between two or more IM users, used to allow applications on the users' systems to communicate without having to establish network connections themselves.
StreamTube
and DBusTube
are available.For more details, please refer to Telepathy specification.
Tp::TubeChannel::~TubeChannel | ( | ) | [virtual] |
Class destructor.
Tp::TubeChannel::TubeChannel | ( | const ConnectionPtr & | connection, |
const QString & | objectPath, | ||
const QVariantMap & | immutableProperties, | ||
const Feature & | coreFeature = TubeChannel::FeatureCore |
||
) | [protected] |
Construct a new TubeChannel object.
connection | Connection owning this channel, and specifying the service. |
objectPath | The object path of this channel. |
immutableProperties | The immutable properties of this channel. |
TubeChannelPtr Tp::TubeChannel::create | ( | const ConnectionPtr & | connection, |
const QString & | objectPath, | ||
const QVariantMap & | immutableProperties | ||
) | [static] |
Create a new TubeChannel channel.
connection | Connection owning this channel, and specifying the service. |
objectPath | The object path of this channel. |
immutableProperties | The immutable properties of this channel. |
Reimplemented from Tp::Channel.
Reimplemented in Tp::IncomingStreamTubeChannel, Tp::OutgoingStreamTubeChannel, and Tp::StreamTubeChannel.
TubeChannelState Tp::TubeChannel::tubeState | ( | ) | const |
This methods returns the state of the tube in this channel. It can be used to find out whether the tube is already opened.
QVariantMap Tp::TubeChannel::parameters | ( | ) | const |
Returns the parameters associated with this tube, if any.
This method requires TubeChannel::FeatureTube to be enabled.
void Tp::TubeChannel::tubeStateChanged | ( | Tp::TubeChannelState | state | ) | [signal] |
Emitted when the state of the tube has changed, if FeatureTube has been enabled.
void Tp::TubeChannel::setParameters | ( | const QVariantMap & | parameters | ) | [protected] |
const Feature Tp::TubeChannel::FeatureTube [static] |
Feature representing the core that needs to become ready to make the TubeChannel object usable.
Note that this feature must be enabled in order to use most TubeChannel methods. See specific methods documentation for more details.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt4 0.7.1 |