1 // Copyright (c) Warwick Allison, 1999.
2 // Qt4 conversion copyright (c) Ray Chason, 2012-2014.
3 // NetHack may be freely redistributed.  See license for details.
4 
5 // qt_line.h -- a one line input window
6 
7 #ifndef QT4LINE_H
8 #define QT4LINE_H
9 
10 namespace nethack_qt_ {
11 
12 class NetHackQtLineEdit : public QLineEdit {
13 public:
14 	NetHackQtLineEdit();
15 	NetHackQtLineEdit(QWidget* parent, const char* name);
16 
17 	void fakeEvent(int key, int ascii, Qt::KeyboardModifiers state);
18 };
19 
20 } // namespace nethack_qt_
21 
22 #endif
23