14 * Description: EAP-MSCHAPv2 password expired note Dialog |
14 * Description: EAP-MSCHAPv2 password expired note Dialog |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 2 % |
19 * %version: 3 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |
22 #ifndef __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |
23 #define __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |
23 #define __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |
24 |
24 |
25 |
25 // System includes |
26 #include <HbMessageBox> |
26 #include <HbMessageBox> |
27 #include <hbdevicedialoginterface.h> |
27 #include <hbdevicedialoginterface.h> |
28 |
28 |
|
29 // User includes |
|
30 |
|
31 // Forward declarations |
|
32 |
29 class HbTranslator; |
33 class HbTranslator; |
|
34 |
|
35 // External data types |
|
36 |
|
37 // Constants |
|
38 |
|
39 /*! |
|
40 @addtogroup group_eap_mschapv2_pwd_exp_note_dialog |
|
41 @{ |
|
42 */ |
|
43 |
|
44 // Class declaration |
30 |
45 |
31 class EapMschapv2PwdExpNoteDialog: public HbMessageBox, public HbDeviceDialogInterface |
46 class EapMschapv2PwdExpNoteDialog: public HbMessageBox, public HbDeviceDialogInterface |
32 { |
47 { |
33 Q_OBJECT |
48 Q_OBJECT |
34 |
49 |
37 EapMschapv2PwdExpNoteDialog(const QVariantMap ¶meters); |
52 EapMschapv2PwdExpNoteDialog(const QVariantMap ¶meters); |
38 /* Destructor */ |
53 /* Destructor */ |
39 ~EapMschapv2PwdExpNoteDialog(); |
54 ~EapMschapv2PwdExpNoteDialog(); |
40 |
55 |
41 /* Function creates the actual dialog widget */ |
56 /* Function creates the actual dialog widget */ |
42 void createDialog(const QVariantMap ¶meters ); |
57 void createDialog(); |
43 |
58 |
44 /* Device dialog parameters to be set while dialog is displayed. |
59 /* Device dialog parameters to be set while dialog is displayed. |
45 * Not supported. |
60 * Not supported. (from HbDeviceDialogInterface) |
46 */ |
61 */ |
47 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
62 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
48 |
63 |
49 /* Not supported */ |
64 /* Not supported. (from HbDeviceDialogInterface) */ |
50 int deviceDialogError() const; |
65 int deviceDialogError() const; |
51 |
66 |
52 /* Closes the device dialog */ |
67 /* Closes the device dialog. (from HbDeviceDialogInterface) */ |
53 void closeDeviceDialog(bool byClient); |
68 void closeDeviceDialog(bool byClient); |
54 |
69 |
55 /* Returns a pointer to this dialog widget */ |
70 /* Returns a pointer to this dialog widget. |
|
71 (from HbDeviceDialogInterface) */ |
56 HbPopup *deviceDialogWidget() const; |
72 HbPopup *deviceDialogWidget() const; |
57 |
73 |
58 signals: |
74 signals: |
59 /* Signal is emitted when the dialog is closed */ |
75 /* Signal is emitted when the dialog is closed */ |
60 void deviceDialogClosed(); |
76 void deviceDialogClosed(); |
71 |
87 |
72 private: |
88 private: |
73 |
89 |
74 Q_DISABLE_COPY(EapMschapv2PwdExpNoteDialog) |
90 Q_DISABLE_COPY(EapMschapv2PwdExpNoteDialog) |
75 |
91 |
76 private: |
92 private: // data |
|
93 // NOT OWNED |
77 |
94 |
78 /* Pointer to the HbTranslator */ |
95 // OWNED |
|
96 //! Pointer to the HbTranslator |
79 QScopedPointer<HbTranslator> mTranslator; |
97 QScopedPointer<HbTranslator> mTranslator; |
80 |
98 |
81 /* Tells whether Ok Action has already been pressed */ |
99 //! Tells whether Ok Action has already been pressed |
82 bool mOkActionPressed; |
100 bool mOkActionPressed; |
83 }; |
101 }; |
|
102 |
|
103 /*! @} */ |
84 |
104 |
85 #endif // __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |
105 #endif // __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__ |