Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions
Tp::StreamTubeServer::RemoteContact Class Reference

The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates. More...

#include <TelepathyQt/StreamTubeServer>

List of all members.

Public Member Functions


Detailed Description

The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates.


Constructor & Destructor Documentation

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.

Parameters:
accountA pointer to the account which this contact can be reached through.
contactA pointer to the contact object.

Copy constructor.

Class destructor.


Member Function Documentation

Return whether or not the contact is valid or is just the null object created using the default constructor.

Returns:
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.

Returns:
A pointer to the account object.
ContactPtr Tp::StreamTubeServer::RemoteContact::contact ( ) const [inline]

Return the actual contact object.

Returns:
A pointer to the object.


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