OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / win / Qt4 / qt4line.h
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 // qt4line.h -- a one line input window
6
7 #ifndef QT4LINE_H
8 #define QT4LINE_H
9
10 namespace nethack_qt4 {
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_qt4
21
22 #endif