|
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 * |
|
16 */ |
|
17 #ifndef __EAPFASTPROVWAITNOTEDIALOG_H__ |
|
18 #define __EAPFASTPROVWAITNOTEDIALOG_H__ |
|
19 |
|
20 #include <HbTranslator> |
|
21 #include <HbNotificationDialog> |
|
22 #include <hbdevicedialoginterface.h> |
|
23 |
|
24 |
|
25 class EapFastProvWaitNoteDialog: public HbNotificationDialog, public HbDeviceDialogInterface |
|
26 { |
|
27 Q_OBJECT |
|
28 |
|
29 public: |
|
30 /* Constructor */ |
|
31 EapFastProvWaitNoteDialog(const QVariantMap ¶meters); |
|
32 |
|
33 /* Destructor */ |
|
34 ~EapFastProvWaitNoteDialog(); |
|
35 |
|
36 /* Function creates the actual dialog widget */ |
|
37 void createDialog(const QVariantMap ¶meters ); |
|
38 |
|
39 /* Device dialog parameters to be set while dialog is displayed. |
|
40 * Not supported. |
|
41 */ |
|
42 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
|
43 |
|
44 /* Not supported */ |
|
45 int deviceDialogError() const; |
|
46 |
|
47 /* Closes the device dialog */ |
|
48 void closeDeviceDialog(bool byClient); |
|
49 |
|
50 /* Returns a pointer to this dialog widget */ |
|
51 HbPopup *deviceDialogWidget() const; |
|
52 |
|
53 signals: |
|
54 /* Signal is emitted when the dialog is closed */ |
|
55 void deviceDialogClosed(); |
|
56 |
|
57 /* Data is emitted in QVariantMap when Ok Action button is selected */ |
|
58 void deviceDialogData(QVariantMap data); |
|
59 |
|
60 private slots: |
|
61 |
|
62 /* Slot that is mapped to the signal that indicates to closing of the dialog */ |
|
63 void closingDialog(); |
|
64 |
|
65 private: |
|
66 |
|
67 Q_DISABLE_COPY(EapFastProvWaitNoteDialog) |
|
68 |
|
69 /* Pointer to the HbTranslator */ |
|
70 QScopedPointer<HbTranslator> mTranslator; |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // __EAPFASTPROVWAITNOTEDIALOG_H__ |