以下成员源于类 QAbstractEventDispatcher 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated in 6.8)
struct
|
TimerInfo |
(弃用)
int
|
registerTimer (qint64 interval , Qt::TimerType timerType , QObject * object ) |
[deprecated]
int
QAbstractEventDispatcher::
registerTimer
(
qint64
interval
,
Qt::TimerType
timerType
,
QObject
*
object
)
This function is deprecated. We strongly advise against using it in new code.
This function will be removed in Qt 7. Use the overload taking Duration .
Registers a timer with the specified interval and timerType 为给定 object and returns the timer id.