MCPcopy Create free account
hub / github.com/NetHack/NetHack / isSelected

Method isSelected

win/Qt/qt_menu.cpp:904–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904bool NetHackQtMenuWindow::isSelected(int row)
905{
906 QCheckBox *cb = dynamic_cast<QCheckBox *> (table->cellWidget(row, 1));
907 return cb ? (cb->checkState() != Qt::Unchecked) : false;
908}
909
910// convert text count to numeric for final result
911long NetHackQtMenuWindow::count(int row)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected