MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / updateTime

Method updateTime

ChessBoard.cpp:1094–1098  ·  view source on GitHub ↗

刷新时间

Source from the content-addressed store, hash-verified

1092
1093//刷新时间
1094void ChessBoard::updateTime()
1095{
1096 *m_timeRecord = m_timeRecord->addSecs(1);
1097 ui->lcdNumber->display(m_timeRecord->toString("hh:mm:ss"));
1098}
1099
1100void ChessBoard::on_pushButton_start_clicked()
1101{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected