24 #include <QGraphicsWidget> |
24 #include <QGraphicsWidget> |
25 #include <hbdocumentloader.h> |
25 #include <hbdocumentloader.h> |
26 #include <hbinputeditorinterface.h> |
26 #include <hbinputeditorinterface.h> |
27 #include "devicemanagementnotifierwidget_p.h" |
27 #include "devicemanagementnotifierwidget_p.h" |
28 |
28 |
29 class omacppinquerydialog : public devicemanagementnotifierwidget |
29 class omacppinquerydialog : public QObject, public HbDeviceDialogInterface |
30 { |
30 { |
31 |
31 |
32 Q_OBJECT |
32 Q_OBJECT |
33 |
33 |
34 public: |
34 public: |
35 omacppinquerydialog(const QVariantMap ¶meters); |
35 omacppinquerydialog(const QVariantMap ¶meters); |
36 |
36 |
37 public: |
37 public: |
38 void createcppinquery(const QVariantMap ¶meters); |
38 void createcppinquery(const QVariantMap ¶meters); |
39 HbDialog *deviceDialogWidget() const; |
39 HbDialog *deviceDialogWidget() const; |
|
40 //derived from HbDeviceDialogInterface |
|
41 bool setDeviceDialogParameters(const QVariantMap ¶meters); |
|
42 int deviceDialogError() const; |
|
43 void closeDeviceDialog(bool byClient); |
|
44 QObject *signalSender() const; |
40 |
45 |
41 public slots: |
46 public slots: |
42 |
47 |
43 void pintextChanged(); |
48 void pintextChanged(); |
44 void okSelected(); |
49 void okSelected(); |
45 void cancelSelected(); |
50 void cancelSelected(); |
46 |
51 |
|
52 private: |
|
53 signals: |
|
54 void deviceDialogClosed(); |
|
55 void deviceDialogData(QVariantMap data); |
|
56 |
47 private: |
57 private: |
48 HbLineEdit *mlineedit; |
58 HbLineEdit *mlineedit; |
49 HbAction *mactionok; |
59 HbAction *mactionok; |
|
60 HbDialog *mDialog; |
50 }; |
61 }; |
51 |
62 |
52 |
63 |
53 |
64 |
54 #endif |
65 #endif |