| 505 | } |
| 506 | |
| 507 | void ChessBoard::pauseGameTimer() |
| 508 | { |
| 509 | if (!m_timer || !m_bIsStart) |
| 510 | return; |
| 511 | |
| 512 | m_timer->stop(); |
| 513 | m_bIsStart = false; |
| 514 | ui->pushButton_start->setText("继续"); |
| 515 | } |
| 516 | |
| 517 | void ChessBoard::autoStartTimerIfNeeded() |
| 518 | { |
nothing calls this directly
no outgoing calls
no test coverage detected