4#ifndef QABSTRACTEVENTDISPATCHER_H
5#define QABSTRACTEVENTDISPATCHER_H
7#include <QtCore/qobject.h>
8#include <QtCore/qeventloop.h>
29 : timerId(
id), interval(
i), timerType(
t) { }
53 virtual void startingUp();
54 virtual void closingDown();
DarwinBluetooth::LECBManagerNotifier * notifier
virtual void registerTimer(int timerId, qint64 interval, Qt::TimerType timerType, QObject *object)=0
Register a timer with the specified timerId, interval, and timerType for the given object.
virtual void registerSocketNotifier(QSocketNotifier *notifier)=0
Registers notifier with the event loop.
void aboutToBlock()
This signal is emitted before the event loop calls a function that could block.
virtual void unregisterSocketNotifier(QSocketNotifier *notifier)=0
Unregisters notifier from the event dispatcher.
virtual void wakeUp()=0
\threadsafe
virtual int remainingTime(int timerId)=0
Returns the remaining time in milliseconds with the given timerId.
void awake()
This signal is emitted after the event loop returns from a function that could block.
virtual bool unregisterTimer(int timerId)=0
Unregisters the timer with the given timerId.
virtual bool processEvents(QEventLoop::ProcessEventsFlags flags)=0
Processes pending events that match flags until there are no more events to process.
virtual QList< TimerInfo > registeredTimers(QObject *object) const =0
Returns a list of registered timers for object.
virtual bool unregisterTimers(QObject *object)=0
Unregisters all the timers associated with the given object.
virtual void interrupt()=0
Interrupts event dispatching.
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
TimerInfo(int id, int i, Qt::TimerType t)
Constructs a TimerInfo struct with the given timerId, interval, and timerType.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent