MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ProfileManager class provides helper methods to retrieve Profile objects. More...

#include <TelepathyQt4/ProfileManager>

Inherits Tp::Object, and Tp::ReadyObject.

List of all members.

Public Member Functions

Static Public Member Functions

Static Public Attributes


Detailed Description

The ProfileManager class provides helper methods to retrieve Profile objects.


Constructor & Destructor Documentation

Tp::ProfileManager::~ProfileManager (  ) 

Class destructor.


Member Function Documentation

ProfileManagerPtr Tp::ProfileManager::create ( const QDBusConnection bus = QDBusConnection::sessionBus()  )  [static]

Create a new ProfileManager object.

QList< ProfilePtr > Tp::ProfileManager::profiles (  )  const

Return a list of all available profiles.

Returns:
A list of all available profiles.
QList< ProfilePtr > Tp::ProfileManager::profilesForCM ( const QString cmName  )  const

Return a list of all available profiles for a given connection manager.

Parameters:
cmName  Connection manager name.
Returns:
A list of all available profiles for a given connection manager.
QList< ProfilePtr > Tp::ProfileManager::profilesForProtocol ( const QString protocolName  )  const

Return a list of all available profiles for a given protocol.

Parameters:
protocolName  Protocol name.
Returns:
A list of all available profiles for a given protocol.
ProfilePtr Tp::ProfileManager::profileForService ( const QString serviceName  )  const

Return the profile for a given service.

Parameters:
serviceName  Service name.
Returns:
The profile for service.

Member Data Documentation

Feature representing the core that needs to become ready to make the ProfileManager object usable.

Note that this feature must be enabled in order to use all ProfileManager methods.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.

Enabling this feature will make ProfileManager create fake Profile objects to all protocols supported on the installed connection managers, even if they don't have .profile files installed making use of them.

Fake profiles are identified by Profile::isFake() returning true.

The fake profile will contain the following info:

Where cmName and protocolName are the name of the connection manager and the name of the protocol for which this fake Profile is created, respectively.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5