|
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: WPS wizard page step 5 |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef WPSWIZARDSTEPFIVE_H_ |
|
19 #define WPSWIZARDSTEPFIVE_H_ |
|
20 |
|
21 |
|
22 // System includes |
|
23 #include <QObject> |
|
24 #include <HbDocumentLoader> |
|
25 |
|
26 // User includes |
|
27 #include "wpswizardpage.h" |
|
28 |
|
29 // Forward declarations |
|
30 class HbRadioButtonList; |
|
31 class HbWidget; |
|
32 class HbLabel; |
|
33 class HbProgressBar; |
|
34 class WpsWizardPrivate; |
|
35 |
|
36 |
|
37 // External data types |
|
38 // Constants |
|
39 |
|
40 /*! |
|
41 * @addtogroup group_wps_wizard_plugin |
|
42 * @{ |
|
43 */ |
|
44 |
|
45 // Class declaration |
|
46 class WpsPageStepFive : public WpsWizardPage |
|
47 { |
|
48 Q_OBJECT |
|
49 |
|
50 public: |
|
51 |
|
52 explicit WpsPageStepFive(WpsWizardPrivate* parent); |
|
53 ~WpsPageStepFive(); |
|
54 |
|
55 public: |
|
56 |
|
57 HbWidget* initializePage(); |
|
58 |
|
59 int nextId(bool &removeFromStack) const; |
|
60 |
|
61 int previousTriggered(); |
|
62 |
|
63 void cancelTriggered(); |
|
64 |
|
65 bool showPage(); |
|
66 |
|
67 signals: |
|
68 |
|
69 public slots: |
|
70 |
|
71 void itemSelected(int index); |
|
72 |
|
73 void loadDocmlSection(Qt::Orientation orientation); |
|
74 |
|
75 protected: |
|
76 |
|
77 protected slots: |
|
78 |
|
79 private: |
|
80 |
|
81 Q_DISABLE_COPY(WpsPageStepFive) |
|
82 |
|
83 private slots: |
|
84 |
|
85 private: |
|
86 |
|
87 //data |
|
88 |
|
89 //! Pointer to the HbWidget object |
|
90 HbWidget *mWidget; |
|
91 //! Radio button list object |
|
92 HbRadioButtonList *mRadio; |
|
93 //! Heading label object |
|
94 HbLabel *mHeading; |
|
95 //! variable used to determine if next button has to be enabled. |
|
96 bool mValid; |
|
97 //! Documentloader object |
|
98 HbDocumentLoader *mLoader; |
|
99 }; |
|
100 |
|
101 #endif /* WPSWIZARDSTEPFIVE_H_ */ |