summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/textdlg.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-sheet/textdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/textdlg.h24
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 @@
+#ifndef TEXTDLG_H
+#define TEXTDLG_H
+
+#include <qdialog.h>
+#include <qlabel.h>
+#include <qlineedit.h>
+
+class TextDialog: public QDialog
+{
+ Q_OBJECT
+
+ // QT objects
+ QLabel *label;
+ QLineEdit *edit;
+
+ public:
+ TextDialog(QWidget *parent=0);
+ ~TextDialog();
+
+ int exec(const QString &caption, const QString &text, const QString &value="");
+ QString getValue();
+};
+
+#endif