libAccountSetup
1.0
provider-plugin-process.h
1
/*
2
* This file is part of accounts-ui
3
*
4
* Copyright (C) 2011 Nokia Corporation.
5
*
6
* Contact: Alberto Mardegan <alberto.mardegan@nokia.com>
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License
10
* version 2.1 as published by the Free Software Foundation.
11
*
12
* This library is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20
* 02110-1301 USA
21
*/
27
#ifndef ACCOUNTSETUP_PROVIDER_PLUGIN_PROCESS_H
28
#define ACCOUNTSETUP_PROVIDER_PLUGIN_PROCESS_H
29
30
// libAccountSetup
31
#include <AccountSetup/common.h>
32
#include <AccountSetup/types.h>
33
34
// Accounts
35
#include <Accounts/Account>
36
37
// Qt
38
#include <QObject>
39
#include <QWidget>
40
41
namespace
AccountSetup
{
42
class
ProviderPluginProcessPrivate;
43
54
class
ACCOUNTSETUP_EXPORT
ProviderPluginProcess
:
public
QObject
55
{
56
Q_OBJECT
57
58
public
:
62
ProviderPluginProcess
(QObject *
object
= 0);
63
virtual
~ProviderPluginProcess
();
64
68
static
ProviderPluginProcess
*instance();
69
73
SetupType
setupType()
const
;
74
80
Accounts::Account *account()
const
;
81
85
QString serviceType()
const
;
86
91
WId parentWindowId()
const
;
92
96
void
setReturnToAccountsList(
bool
value);
97
101
void
setExitData(
const
QVariant &data);
102
110
void
setEditExistingAccount(Accounts::AccountId accountId);
111
112
public
Q_SLOTS:
116
void
quit();
117
118
private
:
119
ProviderPluginProcessPrivate *d_ptr;
120
Q_DECLARE_PRIVATE(
ProviderPluginProcess
)
121
};
122
123
}
// namespace
124
125
#endif
// ACCOUNTSETUP_PROVIDER_PLUGIN_PROCESS_H
AccountSetup::ProviderPluginProcess
Class to manage the account provider plugins as separate processes.
Definition
provider-plugin-process.h:55
AccountSetup
Definition
provider-plugin-process-priv.h:36
AccountSetup::SetupType
SetupType
Operation type.
Definition
types.h:38
AccountSetup
provider-plugin-process.h
Generated by
1.10.0