4#ifndef QTIMERINFO_UNIX_P_H
5#define QTIMERINFO_UNIX_P_H
18#include <QtCore/private/qglobal_p.h>
32 std::chrono::steady_clock::time_point
timeout;
47 bool timerWait(timespec &);
50 qint64 timerRemainingTime(
int timerId);
51 std::chrono::milliseconds remainingDuration(
int timerId);
56 bool unregisterTimer(
int timerId);
57 bool unregisterTimers(
QObject *
object);
61 bool hasPendingTimers();
65 auto matchesId = [timerId](
const QTimerInfo *
t) {
return t->id == timerId; };
66 return std::find_if(
cbegin(),
cend(), matchesId);
70 std::chrono::steady_clock::time_point updateCurrentTime();
const_iterator cend() const noexcept
const_iterator cbegin() const noexcept
void registerTimer(int timerId, std::chrono::milliseconds interval, Qt::TimerType timerType, QObject *object)
std::chrono::steady_clock::time_point currentTime
QList::const_iterator findTimerById(int timerId) const
Combined button and popup list for selecting options.
std::chrono::steady_clock::time_point timeout
QTimerInfo ** activateRef
std::chrono::milliseconds interval