The ProfileManager class provides helper methods to retrieve Profile objects.
More...
#include <TelepathyQt/ProfileManager>
Inherits Tp::Object, and Tp::ReadyObject.
|
static ProfileManagerPtr | create (const QDBusConnection &bus=QDBusConnection::sessionBus()) |
|
The ProfileManager class provides helper methods to retrieve Profile objects.
◆ ~ProfileManager()
Tp::ProfileManager::~ProfileManager |
( |
| ) |
|
◆ create()
ProfileManagerPtr Tp::ProfileManager::create |
( |
const QDBusConnection & |
bus = QDBusConnection::sessionBus() | ) |
|
|
static |
◆ profiles()
QList< ProfilePtr > Tp::ProfileManager::profiles |
( |
| ) |
const |
Return a list of all available profiles.
- Returns
- A list of all available profiles.
◆ profilesForCM()
QList< ProfilePtr > Tp::ProfileManager::profilesForCM |
( |
const QString & |
cmName | ) |
const |
Return a list of all available profiles for a given connection manager.
- Parameters
-
- Returns
- A list of all available profiles for a given connection manager.
◆ profilesForProtocol()
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.
◆ profileForService()
ProfilePtr Tp::ProfileManager::profileForService |
( |
const QString & |
serviceName | ) |
const |
Return the profile for a given service.
- Parameters
-
- Returns
- The profile for service.
◆ FeatureCore
const Feature Tp::ProfileManager::FeatureCore |
|
static |
◆ FeatureFakeProfiles
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:
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.