Success page added
[accounts-sso:libaccounts-ui.git] / lib / AccountsUI / account-setup-finished-page.h
1 #ifndef ACCOUNTSETUPFINISHEDPAGE_H
2 #define ACCOUNTSETUPFINISHEDPAGE_H
3
4 #include <MApplicationPage>
5 #include "common.h"
6
7 namespace Accounts {
8     class Account;
9 }
10
11 namespace AccountsUI {
12
13 class AbstractAccountSetupContext;
14 class AccountSetupFinishedPagePrivate;
15
16 /*!
17  * @details AccountSetupFinishedPage is the page which is displayed
18  * when accounts-ui is launched by any external application like email,
19  * after successful creation of an account.
20  */
21
22 class ACCOUNTSUI_EXPORT AccountSetupFinishedPage : public MApplicationPage
23 {
24     Q_OBJECT
25
26 public:
27     AccountSetupFinishedPage(AbstractAccountSetupContext *context);
28     ~AccountSetupFinishedPage();
29
30     virtual void createContent();
31
32 public slots:
33     void goToApplication();
34
35 private:
36     AccountSetupFinishedPagePrivate *d_ptr;
37     Q_DISABLE_COPY(AccountSetupFinishedPage)
38     Q_DECLARE_PRIVATE(AccountSetupFinishedPage)
39
40 };
41
42 } //namespace
43
44 #endif // ACCOUNTSETUPFINISHEDPAGE_H