void TimeControl::doTimeTick() { clockChanged(QTimeString::currentAMPM()); dateFormatChanged(); m_timer->stop(); QTime time = QTime::currentTime(); m_timer->start((60 - time.second()) * 1000 + 500, QtopiaTimer::PauseWhenInactive); }
void QAbstractClipAnimator::setClock(QClock *clock) { Q_D(QAbstractClipAnimator); if (d->m_clock == clock) return; if (d->m_clock) d->unregisterDestructionHelper(d->m_clock); if (clock && !clock->parent()) clock->setParent(this); d->m_clock = clock; if (d->m_clock) d->registerDestructionHelper(d->m_clock, &QAbstractClipAnimator::setClock, d->m_clock); emit clockChanged(clock); }
void TimeControl::systemWaking() { clockChanged(QTimeString::currentAMPM()); dateFormatChanged(); }