| 1024 | } |
| 1025 | |
| 1026 | void NetHackQtMainWindow::doMenuItem(QAction *action) |
| 1027 | { |
| 1028 | if (!ok_for_command()) |
| 1029 | return; |
| 1030 | /* this converts meta characters to '?'; menu processing has been |
| 1031 | changed to send multi-character "#abc" instead (already needed |
| 1032 | for commands that didn't have either a regular keystroke or a |
| 1033 | meta shortcut); it must send just enough to disambiguate from |
| 1034 | other extended command names, otherwise the remainder would be |
| 1035 | left in the queue for subsequent handling as additional commands */ |
| 1036 | doKeys(action->data().toString()); |
| 1037 | } |
| 1038 | |
| 1039 | void NetHackQtMainWindow::doQtSettings(bool) |
| 1040 | { |