TelepathyQt4: Tp::ConnectionCapabilities Class Reference

| Home · All Classes · All Namespaces · Modules · Functions · Files

# Tp::ConnectionCapabilities Class Reference
[Connection proxies]

The ConnectionCapabilities class provides an object representing the capabilities of a Connection. More...

`#include <TelepathyQt4/ConnectionCapabilities>`

Inherits Tp::CapabilitiesBase.

List of all members.

## Public Member Functions

- virtual ~ConnectionCapabilities ()
- bool supportsTextChatrooms () const

## Detailed Description

The ConnectionCapabilities class provides an object representing the capabilities of a Connection.

## Constructor & Destructor Documentation

Tp::ConnectionCapabilities::~ConnectionCapabilities | ( |  | ) | `[virtual]`

Class destructor.

## Member Function Documentation

bool Tp::ConnectionCapabilities::supportsTextChatrooms | ( |  | ) | const

Return true if named text chatrooms can be joined by providing a chatroom identifier.

If the protocol is such that chatrooms can be joined, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

Returns:
  true if Account::ensureTextChatroom() can be expected to work.