equal
deleted
inserted
replaced
25 |
25 |
26 class GlxTextInputDialog : public QObject |
26 class GlxTextInputDialog : public QObject |
27 { |
27 { |
28 Q_OBJECT |
28 Q_OBJECT |
29 public: |
29 public: |
30 GlxTextInputDialog(); |
30 GlxTextInputDialog(bool disableOkForEmptyText = true); |
31 ~GlxTextInputDialog(); |
31 ~GlxTextInputDialog(); |
32 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); |
33 |
33 |
34 public slots: |
34 public slots: |
35 void textChanged(const QString &text); |
35 void textChanged(const QString &text); |
37 |
37 |
38 private: |
38 private: |
39 HbInputDialog* mDialog; |
39 HbInputDialog* mDialog; |
40 QEventLoop *mEventLoop; |
40 QEventLoop *mEventLoop; |
41 bool mResult; |
41 bool mResult; |
|
42 bool mDisableOkForEmptyText; |
42 }; |
43 }; |
43 |
44 |
44 #endif // GLXCOMMONDIALOGS_H |
45 #endif // GLXCOMMONDIALOGS_H |