|
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: Interface for wizard pages (wlan internal). |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef WLANWIZARDPAGEINTERNAL_H |
|
20 #define WLANWIZARDPAGEINTERNAL_H |
|
21 |
|
22 // System includes |
|
23 #include <QObject> |
|
24 |
|
25 // User includes |
|
26 #include "wlanwizardpage.h" |
|
27 |
|
28 // Forward declarations |
|
29 class HbWidget; |
|
30 class WlanWizardPrivate; |
|
31 |
|
32 // External data types |
|
33 |
|
34 // Constants |
|
35 |
|
36 /*! |
|
37 @addtogroup group_wlan_wizard |
|
38 @{ |
|
39 */ |
|
40 |
|
41 class WlanWizardPageInternal : public QObject, public WlanWizardPage |
|
42 { |
|
43 public: |
|
44 /*! |
|
45 WLAN Wizard internal pages. |
|
46 |
|
47 Remember to update trace.properties file upon changes. |
|
48 */ |
|
49 enum WlanPageIds { |
|
50 //! SSID Query |
|
51 PageSsid = WlanWizardPage::PageWlanStart, |
|
52 //! Scanning page |
|
53 PageScanning, |
|
54 //! Manual network security selection page |
|
55 PageNetworkSecurity, |
|
56 //! WEP/WPA(2) key query page |
|
57 PageKeyQuery, |
|
58 //! WLAN Network mode page |
|
59 PageNetworkMode, |
|
60 //! Wizard summary page |
|
61 PageSummary, |
|
62 }; |
|
63 |
|
64 public: // from WlanWizardPage |
|
65 explicit WlanWizardPageInternal(WlanWizardPrivate *wizard); |
|
66 virtual ~WlanWizardPageInternal(); |
|
67 |
|
68 public: |
|
69 //! Pointer to private object. Provides services to pages |
|
70 WlanWizardPrivate* mWizard; |
|
71 |
|
72 signals: |
|
73 |
|
74 public slots: |
|
75 |
|
76 protected: |
|
77 //! default value for previousTriggered(), step one step. |
|
78 static const int OneStepBackwards = 1; |
|
79 |
|
80 protected slots: |
|
81 |
|
82 private: |
|
83 Q_DISABLE_COPY(WlanWizardPageInternal) |
|
84 |
|
85 private slots: |
|
86 |
|
87 private: // data |
|
88 }; |
|
89 |
|
90 /*! @} */ |
|
91 |
|
92 #endif // WLANWIZARDPAGEINTERNAL_H |