23 #ifndef _TelepathyQt_profile_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_profile_manager_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Object>
31 #include <TelepathyQt/Profile>
32 #include <TelepathyQt/ReadyObject>
33 #include <TelepathyQt/Types>
35 #include <QDBusConnection>
41 class PendingOperation;
52 static ProfileManagerPtr create(
const QDBusConnection &bus = QDBusConnection::sessionBus());
56 QList<ProfilePtr> profiles()
const;
57 QList<ProfilePtr> profilesForCM(
const QString &cmName)
const;
58 QList<ProfilePtr> profilesForProtocol(
const QString &protocolName)
const;
59 ProfilePtr profileForService(
const QString &serviceName)
const;
69 friend struct Private;
The Object class provides an object with property notification.
Definition: object.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: ready-object.h:42
static const Feature FeatureFakeProfiles
Definition: profile-manager.h:50
The ProfileManager class provides helper methods to retrieve Profile objects.
Definition: profile-manager.h:43
static const Feature FeatureCore
Definition: profile-manager.h:49