| 207 | } |
| 208 | |
| 209 | void NetHackQtLineEdit::fakeEvent(int key, int ascii, int state) |
| 210 | { |
| 211 | QKeyEvent fake(QEvent::KeyPress,key,ascii,state); |
| 212 | keyPressEvent(&fake); |
| 213 | } |
| 214 | |
| 215 | extern "C" { |
| 216 | /* Used by tile/font-size patch below and in ../../src/files.c */ |