| 23 | namespace nethack_qt_ { |
| 24 | |
| 25 | NetHackQtMessageWindow::NetHackQtMessageWindow() : |
| 26 | list(new QListWidget()), |
| 27 | scrollarea(new QScrollArea()) |
| 28 | { |
| 29 | list->setFocusPolicy(Qt::NoFocus); |
| 30 | scrollarea->setFocusPolicy(Qt::NoFocus); |
| 31 | scrollarea->takeWidget(); |
| 32 | ::iflags.window_inited = 1; |
| 33 | map = 0; |
| 34 | currgetmsg = 0; |
| 35 | connect(qt_settings,SIGNAL(fontChanged()),this,SLOT(updateFont())); |
| 36 | updateFont(); |
| 37 | } |
| 38 | |
| 39 | NetHackQtMessageWindow::~NetHackQtMessageWindow() |
| 40 | { |
nothing calls this directly
no outgoing calls
no test coverage detected