43#include <QtCore/QtGlobal>
47#if defined(PROFILE_QT)
48 #define P_EXPORT Q_DECL_EXPORT
50 #define P_EXPORT Q_DECL_IMPORT
54 QString key, val, type;
56QDBusArgument &operator<<(QDBusArgument &a,
const MyStructure &mystruct);
57const QDBusArgument &operator>>(
const QDBusArgument &a,
MyStructure &mystruct);
71const QString
beep =
"meeting";
72const QString
loud =
"outdoors";
89 explicit Profile(QObject* parent = 0);
226 void handleProfileChanged(
bool changed,
bool active, QString profile, QList<MyStructure> keyValType);
229 ProfilePrivate*
const d_ptr;
230 Profile(ProfilePrivate* dd, QObject* parent = 0);
237 friend class Ut_Profile;
QString activeProfile()
Definition profile.cpp:193
int volumeLevel(QString profileName)
Definition profile.cpp:244
bool setVibration(QString profileName, bool enabled)
Definition profile.cpp:329
void activeProfileChanged(QString newActiveProfileName)
Profile(QObject *parent=0)
Definition profile.cpp:156
bool setVolumeLevel(QString profileName, int level)
Definition profile.cpp:300
bool setActiveProfile(QString name)
Definition profile.cpp:209
void volumeLevelChanged(QString profileName, int level)
bool setTouchscreenVibrationLevel(QString profileName, int level)
Definition profile.cpp:348
int touchscreenVibrationLevel(QString profileName)
Definition profile.cpp:282
QStringList profileNames()
Get available profile names.
Definition profile.cpp:225
void touchscreenVibrationLevelChanged(QString profileName, int level)
bool isVibrationEnabled(QString profileName)
Definition profile.cpp:265
void vibrationChanged(QString profileName, bool enabled)
const QString silent
Definition profile.h:70
const QString loud
Definition profile.h:72
const QString beep
Definition profile.h:71
const QString ringing
Definition profile.h:69