libAccountSetup 1.0
|
Class to manage the account provider plugins as separate processes. More...
#include <AccountSetup/ProviderPluginProcess>
Inherits QObject.
Public Slots | |
void | quit () |
Clean termination of the plugin process. | |
Public Member Functions | |
ProviderPluginProcess (QObject *object=0) | |
Constructs the account provider plugin process. | |
SetupType | setupType () const |
Accounts::Account * | account () const |
Gets the account being setup by this plugin. | |
QString | serviceType () const |
WId | parentWindowId () const |
Gets the platform specific identifier of the window to which this plugin UI should be modal. | |
void | setReturnToAccountsList (bool value) |
Sets the variable to go to accountsPage, when plugin exits. | |
void | setExitData (const QVariant &data) |
sets the exit data. | |
void | setEditExistingAccount (Accounts::AccountId accountId) |
Informs accounts-ui that the already existing account which the plugin instance attempted to create, should be edited when the plugin exits. | |
Static Public Member Functions | |
static ProviderPluginProcess * | instance () |
Get the instance of the object. | |
Class to manage the account provider plugins as separate processes.
The ProviderPluginProcess class takes care of handling the communication protocol between the client application and the account plugin process.
Definition at line 54 of file provider-plugin-process.h.
ProviderPluginProcess::ProviderPluginProcess | ( | QObject * | object = 0 | ) |
Constructs the account provider plugin process.
Definition at line 146 of file provider-plugin-process.cpp.
|
virtual |
Definition at line 155 of file provider-plugin-process.cpp.
Accounts::Account * ProviderPluginProcess::account | ( | ) | const |
Gets the account being setup by this plugin.
Definition at line 172 of file provider-plugin-process.cpp.
|
static |
Get the instance of the object.
Definition at line 161 of file provider-plugin-process.cpp.
WId ProviderPluginProcess::parentWindowId | ( | ) | const |
Gets the platform specific identifier of the window to which this plugin UI should be modal.
Definition at line 184 of file provider-plugin-process.cpp.
|
slot |
Clean termination of the plugin process.
Definition at line 213 of file provider-plugin-process.cpp.
Referenced by setReturnToAccountsList().
QString ProviderPluginProcess::serviceType | ( | ) | const |
Definition at line 178 of file provider-plugin-process.cpp.
void ProviderPluginProcess::setEditExistingAccount | ( | Accounts::AccountId | accountId | ) |
Informs accounts-ui that the already existing account which the plugin instance attempted to create, should be edited when the plugin exits.
accountId | Id of the account to be edited. |
Definition at line 206 of file provider-plugin-process.cpp.
void ProviderPluginProcess::setExitData | ( | const QVariant & | data | ) |
sets the exit data.
Definition at line 200 of file provider-plugin-process.cpp.
void ProviderPluginProcess::setReturnToAccountsList | ( | bool | value | ) |
Sets the variable to go to accountsPage, when plugin exits.
Definition at line 190 of file provider-plugin-process.cpp.
References quit().
SetupType ProviderPluginProcess::setupType | ( | ) | const |
Definition at line 166 of file provider-plugin-process.cpp.