您可以完全省略计时器对象,而是使用静态方法QTimer::singleShot() ,并使用(您可以将其移至PausableTime 的子类左右): void pause() { int remaining = dataTimer.
確定! 回上一頁