|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * WLAN Wizard Page: Processing settings, connection and running ict. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef WLANWIZARDPAGEPROCESSINGSETTINGS_H |
|
20 #define WLANWIZARDPAGEPROCESSINGSETTINGS_H |
|
21 |
|
22 // System includes |
|
23 |
|
24 // User includes |
|
25 #include "wlanwizardpageinternal.h" |
|
26 #ifdef ICT_RESULT_ENUM |
|
27 #include "wlanqtutils.h" |
|
28 #endif |
|
29 |
|
30 // Forward declarations |
|
31 class HbDocumentLoader; |
|
32 class HbLabel; |
|
33 class WlanWizardPrivate; |
|
34 |
|
35 // External data types |
|
36 |
|
37 // Constants |
|
38 |
|
39 /*! |
|
40 @addtogroup group_wlan_wizard |
|
41 @{ |
|
42 */ |
|
43 |
|
44 class WlanWizardPageProcessingSettings: public WlanWizardPageInternal |
|
45 { |
|
46 Q_OBJECT |
|
47 public: |
|
48 explicit WlanWizardPageProcessingSettings(WlanWizardPrivate* parent); |
|
49 virtual ~WlanWizardPageProcessingSettings(); |
|
50 |
|
51 public: // From WlanWizardPage |
|
52 HbWidget* initializePage(); |
|
53 int nextId(bool &removeFromStack) const; |
|
54 bool showPage(); |
|
55 bool requiresStartOperation(); |
|
56 void startOperation(); |
|
57 |
|
58 signals: |
|
59 |
|
60 public slots: |
|
61 void loadDocmlSection(Qt::Orientation orientation); |
|
62 void wlanNetworkClosed(int iapId, int reason); |
|
63 #ifdef ICT_RESULT_ENUM |
|
64 void ictResult(int iapId, WlanLoginIctsResultType result); |
|
65 #else |
|
66 void ictResult(int iapId, bool result); |
|
67 #endif |
|
68 void wlanNetworkOpened(int iapId); |
|
69 |
|
70 protected: |
|
71 |
|
72 protected slots: |
|
73 |
|
74 private: |
|
75 Q_DISABLE_COPY(WlanWizardPageProcessingSettings) |
|
76 |
|
77 private slots: |
|
78 |
|
79 private: // data |
|
80 // OWNED |
|
81 //! Docml document loader |
|
82 HbDocumentLoader *mDocLoader; |
|
83 |
|
84 // NOT OWNED |
|
85 //! Visualization of the page |
|
86 HbWidget *mWidget; |
|
87 //! Title for text in the page |
|
88 HbLabel *mLabel; |
|
89 //! PageId for next wizard page |
|
90 int mNextPageId; |
|
91 }; |
|
92 |
|
93 /*! @} */ |
|
94 |
|
95 #endif // WLANWIZARDPAGEPROCESSINGSETTINGS_H |