Helper Class towards Accounts::Manager and various SSO related operations.
More...
#include <AccountsHelper.h>
|
void | enableSOC (const QString &aProfileName) |
|
void | scheduleUpdated (const QString &aProfileName) |
|
void | removeProfile (QString profileId) |
|
void | removeScheduledSync (const QString &profileId) |
|
Helper Class towards Accounts::Manager and various SSO related operations.
AccountsHelper::AccountsHelper |
( |
ProfileManager & |
aProfileManager, |
|
|
QObject * |
aParent = NULL |
|
) |
| |
Constructor.
- Parameters
-
aProfileManager | - reference to Profile Manager Object |
aParent | - Parent object |
AccountsHelper::~AccountsHelper |
( |
| ) |
|
|
virtual |
QString AccountsHelper::createProfileForAccount |
( |
Accounts::AccountId |
id | ) |
|
|
slot |
This method is used to create a profile for a specified account.
- Parameters
-
- Returns
- A string with the new profile name
QList< SyncProfile * > AccountsHelper::getProfilesByAccountId |
( |
Accounts::AccountId |
id | ) |
|
Returns sync profiles that correspond to a given account ID.
- Parameters
-
- Returns
- A list of sync profiles. The caller should delete the profiles after use.
void AccountsHelper::slotAccountEnabledChanged |
( |
const QString & |
serviceName, |
|
|
bool |
enabled |
|
) |
| |
|
slot |
slot for Accounts::Account enabledChanged signal
- Parameters
-
serviceName | The service that was enabled/disabled. Empty if the entire account is enabled/disabled |
enabled | Boolean indicating enabled (true) or disabled (false) |
void AccountsHelper::slotAccountRemoved |
( |
Accounts::AccountId |
id | ) |
|
|
slot |
slot for Accounts::Manager accountRemoved signal
- Parameters
-
void AccountsHelper::slotAccountUpdated |
( |
Accounts::AccountId |
id | ) |
|
|
slot |
slot for Accounts::Manager displayNameChanged signal
- Parameters
-
The documentation for this class was generated from the following files: