Telepathy::ManagerFile Class Reference

#include <TelepathyQt4/ManagerFile>

Collaboration diagram for Telepathy::ManagerFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ManagerFile (const QString &cmName)
 ~ManagerFile ()
QString cmName () const
bool isValid () const
QStringList protocols () const
ParamSpecList parameters (const QString &protocol) const

Static Public Member Functions

static QVariant::Type variantTypeFromDBusSignature (const QString &signature)


Detailed Description

The ManagerFile class provides an easy way to read telepathy manager files according to http://telepathy.freedesktop.org/spec.html.

Constructor & Destructor Documentation

Telepathy::ManagerFile::ManagerFile ( const QString &  cmName  ) 

Create a ManagerFile object used to read .manager compliant files.

Parameters:
cmName Name of the connection manager to read the file for.

Telepathy::ManagerFile::~ManagerFile (  ) 

Class destructor.


Member Function Documentation

QString Telepathy::ManagerFile::cmName (  )  const

bool Telepathy::ManagerFile::isValid (  )  const

Check whether or not a ManagerFile object is valid. If the file for the specified connection manager cannot be found it will be considered invalid.

Returns:
true if valid, false otherwise.

Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile().

ParamSpecList Telepathy::ManagerFile::parameters ( const QString &  protocol  )  const

Return a list of all protocols defined in the manager file.

Parameters:
protocol Name of the protocol to look for.
Returns:
List of ParamSpec of a specific protocol defined in the file, or an empty list if the protocol is not defined.

Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile().

QStringList Telepathy::ManagerFile::protocols (  )  const

Return a list of all protocols defined in the manager file.

Returns:
List of all protocols defined in the file.

Referenced by Telepathy::Client::ConnectionManager::ConnectionManager::Private::parseConfigFile().

QVariant::Type Telepathy::ManagerFile::variantTypeFromDBusSignature ( const QString &  signature  )  [static]


Generated on Thu Mar 5 18:51:58 2009 for TelepathyQt4-0.1.1 by  doxygen 1.5.8