以下成員源於類 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.