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.
The ProfileManager class provides helper methods to retrieve Profile objects.
Tp::ProfileManager::~ProfileManager | ( | ) |
Class destructor.
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.
Return a list of all available profiles for a given connection manager.
cmName | Connection manager name. |
Return a list of all available profiles for a given protocol.
protocolName | Protocol name. |
ProfilePtr Tp::ProfileManager::profileForService | ( | const QString & | serviceName | ) | const |
Return the profile for a given service.
serviceName | Service name. |
const Feature Tp::ProfileManager::FeatureCore [static] |
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.
const Feature Tp::ProfileManager::FeatureFakeProfiles [static] |
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:
true
, meaning that CM presences should be usedWhere 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.8.0 |