42 #ifndef QEVENTDISPATCHER_GLIB_P_H 43 #define QEVENTDISPATCHER_GLIB_P_H 59 #include <QtCore/qhash.h> 92 static bool versionSupported();
114 void runTimersOnceWithNormalPriority();
119 #endif // QEVENTDISPATCHER_GLIB_P_H virtual void interrupt()=0
Interrupts event dispatching; i.
virtual void flush()=0
Flushes the event queue.
#define QT_END_NAMESPACE
This macro expands to.
GIdleTimerSource * idleTimerSource
virtual bool unregisterTimer(int timerId)=0
Unregisters the timer with the given timerId.
The QObject class is the base class of all Qt objects.
GPostEventSource * postEventSource
The QSocketNotifier class provides support for monitoring activity on a file descriptor.
virtual void unregisterSocketNotifier(QSocketNotifier *notifier)=0
Unregisters notifier from the event dispatcher.
virtual QList< TimerInfo > registeredTimers(QObject *object) const =0
Returns a list of registered timers for object.
#define QT_BEGIN_NAMESPACE
This macro expands to.
GMainContext * mainContext
virtual void registerSocketNotifier(QSocketNotifier *notifier)=0
Registers notifier with the event loop.
int registerTimer(int interval, QObject *object)
Registers a timer with the specified interval for the given object.
GTimerSource * timerSource
virtual void wakeUp()=0
Wakes up the event loop.
virtual bool hasPendingEvents()=0
Returns true if there is an event waiting; otherwise returns false.
virtual bool processEvents(QEventLoop::ProcessEventsFlags flags)=0
Processes pending events that match flags until there are no more events to process.
struct _GMainContext GMainContext
#define Q_DECLARE_PRIVATE(Class)
virtual bool unregisterTimers(QObject *object)=0
Unregisters all the timers associated with the given object.
The QAbstractEventDispatcher class provides an interface to manage Qt's event queue.
The QList class is a template class that provides lists.
GSocketNotifierSource * socketNotifierSource