| 495 | } |
| 496 | |
| 497 | void ChessBoard::startGameTimer() |
| 498 | { |
| 499 | if (!m_timer || m_bIsStart) |
| 500 | return; |
| 501 | |
| 502 | m_timer->start(1000); |
| 503 | m_bIsStart = true; |
| 504 | ui->pushButton_start->setText("暂停"); |
| 505 | } |
| 506 | |
| 507 | void ChessBoard::pauseGameTimer() |
| 508 | { |
nothing calls this directly
no outgoing calls
no test coverage detected