summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qabstracteventdispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qabstracteventdispatcher.h')
-rw-r--r--src/corelib/kernel/qabstracteventdispatcher.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.h b/src/corelib/kernel/qabstracteventdispatcher.h
index 2236a0295d..9a0a049ed4 100644
--- a/src/corelib/kernel/qabstracteventdispatcher.h
+++ b/src/corelib/kernel/qabstracteventdispatcher.h
@@ -80,9 +80,8 @@ public:
virtual void registerSocketNotifier(QSocketNotifier *notifier) = 0;
virtual void unregisterSocketNotifier(QSocketNotifier *notifier) = 0;
- // ### Qt6: change interval range to qint64 (or use QDeadlineTimer)
- int registerTimer(int interval, Qt::TimerType timerType, QObject *object);
- virtual void registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object) = 0;
+ int registerTimer(qint64 interval, Qt::TimerType timerType, QObject *object);
+ virtual void registerTimer(int timerId, qint64 interval, Qt::TimerType timerType, QObject *object) = 0;
virtual bool unregisterTimer(int timerId) = 0;
virtual bool unregisterTimers(QObject *object) = 0;
virtual QList<TimerInfo> registeredTimers(QObject *object) const = 0;