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

计时器的唯一 ID。该 ID 由 registerTimer() 在创建定时器时创建,并在定时器处于活动状态时唯一标识该定时器。QTimer::id() 和QObject::startTimer() 也会使用和返回该 ID。

Qt::TimerType TimerInfoV2::timerType

计时器类型

另请参阅 Qt::TimerType

© 2025 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.