Home · All Classes · All Namespaces · Modules · Functions · Files |
The StreamTubeClient::Tube class represents a tube being handled by the client. More...
#include <TelepathyQt4/StreamTubeClient>
Inherits QPair< AccountPtr, IncomingStreamTubeChannelPtr >.
The StreamTubeClient::Tube class represents a tube being handled by the client.
Tp::StreamTubeClient::Tube::Tube | ( | ) |
Constructs a new invalid Tube instance.
Tp::StreamTubeClient::Tube::Tube | ( | const AccountPtr & | account, |
const IncomingStreamTubeChannelPtr & | channel | ||
) |
Constructs a Tube instance for the given tube channel from the given account.
account | A pointer to the account the online connection of which the tube originates from. |
channel | A pointer to the tube channel object. |
Tp::StreamTubeClient::Tube::Tube | ( | const Tube & | other | ) |
Copy constructor.
Tp::StreamTubeClient::Tube::~Tube | ( | ) |
Class destructor.
bool Tp::StreamTubeClient::Tube::isValid | ( | ) | const [inline] |
Return whether or not the tube is valid or is just the null object created using the default constructor.
true
if valid, false
otherwise. StreamTubeClient::Tube & Tp::StreamTubeClient::Tube::operator= | ( | const Tube & | other | ) |
Assignment operator.
AccountPtr Tp::StreamTubeClient::Tube::account | ( | ) | const [inline] |
Return the account from which the tube originates.
IncomingStreamTubeChannelPtr Tp::StreamTubeClient::Tube::channel | ( | ) | const [inline] |
Return the actual tube channel.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt4 0.8.0 |