QAbstractEventDispatcher::TimerInfo Struct

struct QAbstractEventDispatcher::TimerInfo

This struct is deprecated since 6.8. We strongly advise against using it in new code.

Public Functions

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

Public Variables

int interval
int timerId
Qt::TimerType timerType

Detailed Description

Use TimerInfoV2

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

See also registeredTimers(), QAbstractEventDispatcher::TimerInfoV2, and timersForObject().

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.

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