summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/inputbox.h
Unidiff
Diffstat (limited to 'noncore/games/kbill/inputbox.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/inputbox.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/games/kbill/inputbox.h b/noncore/games/kbill/inputbox.h
new file mode 100644
index 0000000..0a64048
--- a/dev/null
+++ b/noncore/games/kbill/inputbox.h
@@ -0,0 +1,39 @@
1/***************************************************************************
2 inputbox.h - description
3 -------------------
4 begin : Sat Jan 1 2000
5 copyright : (C) 2000 by Jurrien Loonstra
6 email : j.h.loonstra@st.hanze.nl
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef INPUTBOX_H
19#define INPUTBOX_H
20
21#include <qdialog.h>
22#include <qpushbutton.h>
23#include <qlabel.h>
24
25#include <qstring.h>
26#include <qlineedit.h>
27class InputBox : public QDialog {
28 Q_OBJECT
29public:
30 InputBox(QWidget *parent=0, const char *name=0, const char *caption = 0, const char *text=0);
31 ~InputBox();
32 QString getText() const;
33private:
34 QPushButton *ok, *cancel;
35 QLabel *question;
36 QLineEdit *input;
37};
38
39#endif