TimerInfo Class

(QAbstractEventDispatcher::TimerInfo)
头文件: #include <TimerInfo>
qmake: QT += core

公有函数

TimerInfo(int timerId, int interval, Qt::TimerType timerType)

公有变量

int interval
int timerId
Qt::TimerType timerType

详细描述

This struct represents information about a timer: timerId, interval, and timerType.

参见 registeredTimers().

成员函数

TimerInfo::TimerInfo(int timerId, int interval, Qt::TimerType timerType)

Constructs a TimerInfo struct with the given timerId, interval, and timerType.

成员变量

int TimerInfo::interval

The timer's interval.

int TimerInfo::timerId

The timer's unique id.

Qt::TimerType TimerInfo::timerType

The timer's type

参见 Qt::TimerType.