Obsolete Members for QBasicTimer
The following members of class QBasicTimer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) void | start(int duration, QObject *object) |
(deprecated) void | start(int duration, Qt::TimerType timerType, QObject *obj) |
Member Function Documentation
[since 6.5]
void QBasicTimer::start(int duration, QObject *object)
This function is deprecated. We strongly advise against using it in new code.
Starts (or restarts) the timer with a duration timeout. The timer will be a Qt::CoarseTimer. See Qt::TimerType for information on the different timer types.
The given object will receive timer events.
This function was introduced in Qt 6.5.
See also stop(), isActive(), QObject::timerEvent(), and Qt::CoarseTimer.
[since 6.5]
void QBasicTimer::start(int duration, Qt::TimerType timerType, QObject *obj)
This function is deprecated. We strongly advise against using it in new code.
Starts (or restarts) the timer with a duration timeout and the given timerType. See Qt::TimerType for information on the different timer types.
obj will receive timer events.
This function was introduced in Qt 6.5.
See also stop(), isActive(), QObject::timerEvent(), and Qt::TimerType.