Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions
Tp::ContactCapabilities Class Reference

The ContactCapabilities class represents the capabilities of a Contact. More...

#include <TelepathyQt/ContactCapabilities>

Inherits Tp::CapabilitiesBase.

List of all members.

Public Member Functions

 ContactCapabilities ()
virtual ~ContactCapabilities ()
bool dbusTubes (const QString &serviceName) const
QStringList dbusTubeServices () const
bool streamTubes (const QString &service) const
QStringList streamTubeServices () const

Protected Member Functions

 ContactCapabilities (bool specificToContact)
 ContactCapabilities (const RequestableChannelClassList &rccs, bool specificToContact)
 ContactCapabilities (const RequestableChannelClassSpecList &rccSpecs, bool specificToContact)

Detailed Description

The ContactCapabilities class represents the capabilities of a Contact.


Constructor & Destructor Documentation

Construct a new ContactCapabilities object.

Class destructor.

Tp::ContactCapabilities::ContactCapabilities ( bool  specificToContact) [protected]

Construct a new ContactCapabilities object.

Tp::ContactCapabilities::ContactCapabilities ( const RequestableChannelClassList rccs,
bool  specificToContact 
) [protected]

Construct a new ContactCapabilities object using the give rccs.

Parameters:
rccsRequestableChannelClassList representing the capabilities of a contact.
Tp::ContactCapabilities::ContactCapabilities ( const RequestableChannelClassSpecList rccSpecs,
bool  specificToContact 
) [protected]

Construct a new ContactCapabilities object using the give rccSpecs.

Parameters:
rccSpecsRequestableChannelClassList representing the capabilities of a contact.

Member Function Documentation

bool Tp::ContactCapabilities::dbusTubes ( const QString &  serviceName) const

Returns whether creating a DBusTube channel with the given service targeting this contact is expected to succeed.

Returns:
true if supported, false otherwise.

Return the supported DBusTube services.

Returns:
A list of supported DBusTube services.
bool Tp::ContactCapabilities::streamTubes ( const QString &  service) const

Return whether creating a StreamTube channel, using the given service, by providing a contact identifier is supported.

Returns:
true if supported, false otherwise.

Return the supported StreamTube services.

Returns:
A list of supported StreamTube services.


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