#include <mw/messagingbus/applicationsettings.h>
| class ApplicationSettings |
MB applicationsettings permits application settings manipulation.
| Public Member Functions | |
|---|---|
| ApplicationSettings() | |
| ApplicationSettings(const ApplicationSettings &) | |
| virtual | ~ApplicationSettings() |
| bool | isAudioNotificationEnabled() |
| bool | isNotificationUiUpdate() |
| bool | isUserNotificationEnabled() |
| bool | isWakeUpEnabled() |
| ApplicationSettings & | operator=(const ApplicationSettings &) |
| void | setAudioNotification(bool) |
| void | setNotificationUiUpdate(bool) |
| bool | setUserNotification(bool, const QImage &) |
| void | setWakeUp(bool) |
| Protected Member Functions | |
|---|---|
| QImage | icon() |
| void | setApplicationId(const QString &) |
| ApplicationSettings | ( | ) |
Constructor Creates the ApplicationSettingsData object.
| ApplicationSettings | ( | const ApplicationSettings & | other | ) |
Copy Constructor.
other - ApplicationSettings& class type parameter
| bool | isAudioNotificationEnabled | ( | ) | const |
Returns a bool type.If return value is true,audio notification is played if application receives message with audio flag ON.
| bool | isNotificationUiUpdate | ( | ) | const |
Returns a bool type.If return value is true,notification ui update is synced.
| bool | isUserNotificationEnabled | ( | ) | const |
Returns a bool type.If return value is true,applications user notification feature is enabled else applications user notification feature is not enabled.
| bool | isWakeUpEnabled | ( | ) | const |
Returns a bool type.If return value is true,applications wake up feature is enabled else applications wake up feature is not enabled.
| ApplicationSettings & | operator= | ( | const ApplicationSettings & | other | ) |
| void | setApplicationId | ( | const QString & | id | ) | [protected] |
Method used for setting application ID.
id - uses a QString& type parameter
| void | setAudioNotification | ( | bool | audio | ) |
Method used for setting audio notification value.
audio - bool type parameter
| void | setNotificationUiUpdate | ( | bool | notificationUiUpdate | ) |
Method used for setting notification ui update value.
notificationUiUpdate - bool type parameter
| bool | setUserNotification | ( | bool | useNotifications, |
| const QImage & | icon | |||
| ) | ||||
Returns a bool type.Method is used for assigning usenotification bool value. Return value depends on user notification icon validation. If icon is validated return value is true, else false.
useNotifications - bool type parameter.
icon - QImage& type parameter