Home · All Classes · All Namespaces · Modules · Functions · Files |
The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates. More...
#include <TelepathyQt4/StreamTubeServer>
Inherits QPair< AccountPtr, ContactPtr >.
The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates.
Tp::StreamTubeServer::RemoteContact::RemoteContact | ( | ) |
Constructs a new invalid RemoteContact instance.
Tp::StreamTubeServer::RemoteContact::RemoteContact | ( | const AccountPtr & | account, |
const ContactPtr & | contact | ||
) |
Constructs a new RemoteContact for the given contact object from the given account.
account | A pointer to the account which this contact can be reached through. |
contact | A pointer to the contact object. |
Tp::StreamTubeServer::RemoteContact::RemoteContact | ( | const RemoteContact & | other | ) |
Copy constructor.
Tp::StreamTubeServer::RemoteContact::~RemoteContact | ( | ) |
Class destructor.
bool Tp::StreamTubeServer::RemoteContact::isValid | ( | ) | const [inline] |
Return whether or not the contact is valid or is just the null object created using the default constructor.
true
if valid, false
otherwise. StreamTubeServer::RemoteContact & Tp::StreamTubeServer::RemoteContact::operator= | ( | const RemoteContact & | other | ) |
Assignment operator.
AccountPtr Tp::StreamTubeServer::RemoteContact::account | ( | ) | const [inline] |
Return the account through which the contact can be reached.
ContactPtr Tp::StreamTubeServer::RemoteContact::contact | ( | ) | const [inline] |
Return the actual contact object.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt4 0.8.0 |