Diffstat (limited to 'noncore/apps/opie-sheet/textdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/textdlg.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/textdlg.h b/noncore/apps/opie-sheet/textdlg.h new file mode 100644 index 0000000..f948228 --- a/dev/null +++ b/noncore/apps/opie-sheet/textdlg.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef TEXTDLG_H | ||
2 | #define TEXTDLG_H | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include <qlabel.h> | ||
6 | #include <qlineedit.h> | ||
7 | |||
8 | class TextDialog: public QDialog | ||
9 | { | ||
10 | Q_OBJECT | ||
11 | |||
12 | // QT objects | ||
13 | QLabel *label; | ||
14 | QLineEdit *edit; | ||
15 | |||
16 | public: | ||
17 | TextDialog(QWidget *parent=0); | ||
18 | ~TextDialog(); | ||
19 | |||
20 | int exec(const QString &caption, const QString &text, const QString &value=""); | ||
21 | QString getValue(); | ||
22 | }; | ||
23 | |||
24 | #endif | ||