equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Fast Pac File Password Query Dialog |
14 * Description: EAP-FAST PAC File Password Query Dialog |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 3 % |
19 * %version: 4 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef __EAPFASTPACFILEPWQUERYDIALOG_H__ |
22 #ifndef __EAPFASTPACFILEPWQUERYDIALOG_H__ |
23 #define __EAPFASTPACFILEPWQUERYDIALOG_H__ |
23 #define __EAPFASTPACFILEPWQUERYDIALOG_H__ |
24 |
24 |
25 |
25 // System includes |
26 #include <HbInputDialog> |
26 #include <HbInputDialog> |
27 #include <hbdevicedialoginterface.h> |
27 #include <hbdevicedialoginterface.h> |
28 |
28 |
|
29 // User includes |
29 |
30 |
|
31 // Forward declarations |
30 class HbTranslator; |
32 class HbTranslator; |
|
33 |
|
34 // External data types |
|
35 |
|
36 // Constants |
|
37 |
|
38 /*! |
|
39 @addtogroup group_eap_fast_pac_file_pwd_query_dialog |
|
40 @{ |
|
41 */ |
|
42 |
|
43 // Class declaration |
31 |
44 |
32 class EapFastPacFilePwQueryDialog: public HbInputDialog, public HbDeviceDialogInterface |
45 class EapFastPacFilePwQueryDialog: public HbInputDialog, public HbDeviceDialogInterface |
33 { |
46 { |
34 Q_OBJECT |
47 Q_OBJECT |
35 |
48 |
41 |
54 |
42 /* Function creates the actual dialog widget */ |
55 /* Function creates the actual dialog widget */ |
43 void createDialog( const QVariantMap ¶meters ); |
56 void createDialog( const QVariantMap ¶meters ); |
44 |
57 |
45 /* Device dialog parameters to be set while dialog is displayed. |
58 /* Device dialog parameters to be set while dialog is displayed. |
46 * Not supported. |
59 * Not supported. (from HbDeviceDialogInterface) |
47 */ |
60 */ |
48 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
61 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
49 |
62 |
50 /* Not supported */ |
63 /* Not supported. (from HbDeviceDialogInterface */ |
51 int deviceDialogError() const; |
64 int deviceDialogError() const; |
52 |
65 |
53 /* Closes the device dialog */ |
66 /* Closes the device dialog. (from HbDeviceDialogInterface */ |
54 void closeDeviceDialog(bool byClient); |
67 void closeDeviceDialog(bool byClient); |
55 |
68 |
56 /* Returns a pointer to this dialog widget */ |
69 /* Returns a pointer to this dialog widget. |
|
70 (from HbDeviceDialogInterface) */ |
57 HbPopup *deviceDialogWidget() const; |
71 HbPopup *deviceDialogWidget() const; |
58 |
72 |
59 signals: |
73 signals: |
60 /* Signal is emitted when the dialog is closed */ |
74 /* Signal is emitted when the dialog is closed */ |
61 void deviceDialogClosed(); |
75 void deviceDialogClosed(); |
75 |
89 |
76 private: |
90 private: |
77 |
91 |
78 Q_DISABLE_COPY(EapFastPacFilePwQueryDialog) |
92 Q_DISABLE_COPY(EapFastPacFilePwQueryDialog) |
79 |
93 |
80 private: |
94 private: // data |
81 /* Pointer to the line edit object */ |
95 // NOT OWNED |
|
96 //! Pointer to the line edit object |
82 HbLineEdit *mEdit; |
97 HbLineEdit *mEdit; |
83 |
98 |
84 /* Pointer to the HbTranslator */ |
99 // OWNED |
|
100 //! Pointer to the password validator object |
85 QScopedPointer<HbTranslator> mTranslator; |
101 QScopedPointer<HbTranslator> mTranslator; |
86 |
102 |
87 /* Tells whether close has already been called for the dialog */ |
103 //! Tells whether close has already been called for the dialog |
88 bool mClose; |
104 bool mClose; |
89 |
105 |
90 /* Tells whether Ok Action has already been pressed */ |
106 //! Tells whether Ok Action has already been pressed |
91 bool mOkActionPressed; |
107 bool mOkActionPressed; |
92 }; |
108 }; |
93 |
109 |
|
110 /*! @} */ |
94 |
111 |
95 #endif // __EAPFASTPACFILEPWQUERYDIALOG_H__ |
112 #endif // __EAPFASTPACFILEPWQUERYDIALOG_H__ |
96 |
113 |
97 |
114 |