#include <TelepathyQt4/Client/ConnectionManager>
Public Member Functions | |
~ProtocolInfo () | |
QString | cmName () const |
QString | name () const |
const ProtocolParameterList & | parameters () const |
bool | hasParameter (const QString &name) const |
bool | canRegister () const |
Friends | |
class | Private |
class | ConnectionManager |
Telepathy::Client::ProtocolInfo::~ProtocolInfo | ( | ) |
Class destructor.
bool Telepathy::Client::ProtocolInfo::canRegister | ( | ) | const |
Return whether it might be possible to register new accounts on this protocol via Telepathy, by setting the special parameter named register
to true
.
References hasParameter().
QString Telepathy::Client::ProtocolInfo::cmName | ( | ) | const [inline] |
Get the short name of the connection manager (e.g. "gabble").
Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile().
bool Telepathy::Client::ProtocolInfo::hasParameter | ( | const QString & | name | ) | const |
Return whether a given parameter can be passed to the connection manager when creating a connection to this protocol.
name | The name of a parameter. |
References Telepathy::Client::ProtocolParameter::name().
Referenced by canRegister().
QString Telepathy::Client::ProtocolInfo::name | ( | ) | const [inline] |
Get the string identifying the protocol as described in the Telepathy D-Bus API Specification (e.g. "jabber").
This identifier is not intended to be displayed to users directly; user interfaces are responsible for mapping them to localized strings.
Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile(), Telepathy::Client::ConnectionManager::ConnectionManager::Private::protocol(), and Telepathy::Client::ConnectionManager::supportedProtocols().
const ProtocolParameterList & Telepathy::Client::ProtocolInfo::parameters | ( | ) | const |
Return all supported parameters. The parameters' names may either be the well-known strings specified by the Telepathy D-Bus API Specification (e.g. "account" and "password"), or implementation-specific strings.
Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile().
friend class ConnectionManager [friend] |
friend class Private [friend] |