TimerInfo Class

(QAbstractEventDispatcher::TimerInfo)
Header: #include <TimerInfo>
qmake: QT += core

Public Functions

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

Public Variables

int interval
int timerId
Qt::TimerType timerType

Detailed Description

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

See also registeredTimers().

Member Function Documentation

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

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

Member Variable Documentation

int TimerInfo::interval

The timer's interval.

int TimerInfo::timerId

The timer's unique id.

Qt::TimerType TimerInfo::timerType

The timer's type

See also Qt::TimerType.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qabstracteventdispatcher-timerinfo.html