本页内容

QAbstractEventDispatcher::TimerInfo Struct

struct QAbstractEventDispatcher::TimerInfo

该结构体自 6.8 版起已弃用。我们强烈建议不要在新代码中使用它。

公共变量

int interval
int timerId
Qt::TimerType timerType

详细说明

请使用TimerInfoV2 。

该结构体表示有关计时器的信息:timerId 、interval 和timerType 。

另请参阅 registeredTimers()、QAbstractEventDispatcher::TimerInfoV2 和timersForObject()。

成员变量文档

int TimerInfo::interval

计时器的间隔时间。

int TimerInfo::timerId

计时器的唯一标识符。

Qt::TimerType TimerInfo::timerType

计时器的类型

另请参阅 Qt::TimerType 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.