本页内容

QAbstractEventDispatcher::TimerInfoV2 Struct

struct QAbstractEventDispatcher::TimerInfoV2

公共变量

QAbstractEventDispatcher::Duration interval
Qt::TimerId timerId
Qt::TimerType timerType

详细说明

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

另请参阅 timersForObject()。

成员变量文档

QAbstractEventDispatcher::Duration TimerInfoV2::interval

计时器的间隔时间。

Qt::TimerId TimerInfoV2::timerId

定时器的唯一标识符。该标识符由registerTimer()在创建定时器时生成,并在定时器处于活动状态期间对其进行唯一标识。QTimer::id()也会使用该标识符,而QObject::startTimer()会返回该标识符。

Qt::TimerType TimerInfoV2::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.