equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef GLXCOMMONDIALOGS_H |
18 #ifndef GLXCOMMONDIALOGS_H |
19 #define GLXCOMMONDIALOGS_H |
19 #define GLXCOMMONDIALOGS_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
|
22 #include <hbinputdialog.h> |
22 |
23 |
23 #include <hbinputdialog.h> |
24 class QEventLoop; |
24 |
25 |
25 class GlxTextInputDialog : public QObject |
26 class GlxTextInputDialog : public QObject |
26 { |
27 { |
27 Q_OBJECT |
28 Q_OBJECT |
28 public: |
29 public: |
30 ~GlxTextInputDialog(); |
31 ~GlxTextInputDialog(); |
31 QString getText(const QString &label,const QString &text = QString(),bool *ok = 0); |
32 QString getText(const QString &label,const QString &text = QString(),bool *ok = 0); |
32 |
33 |
33 public slots: |
34 public slots: |
34 void textChanged(const QString &text); |
35 void textChanged(const QString &text); |
|
36 void dialogClosed(HbAction *action); |
35 |
37 |
36 private: |
38 private: |
37 HbInputDialog* mDialog; |
39 HbInputDialog* mDialog; |
|
40 QEventLoop *mEventLoop; |
|
41 bool mResult; |
38 }; |
42 }; |
39 |
43 |
40 #endif // GLXCOMMONDIALOGS_H |
44 #endif // GLXCOMMONDIALOGS_H |