在本页

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

计时器的唯一 ID。

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.