QtCore/qabstracteventdispatcher.h Source File
Go to the documentation of this file.
42 #ifndef QABSTRACTEVENTDISPATCHER_H
43 #define QABSTRACTEVENTDISPATCHER_H
54 class QAbstractEventDispatcherPrivate;
56 template <typename T1, typename T2> struct
QPair;
71 virtual bool processEvents(QEventLoop::ProcessEventsFlags flags) = 0;
72 virtual bool hasPendingEvents() = 0;
74 virtual void registerSocketNotifier(QSocketNotifier *
notifier) = 0;
75 virtual void unregisterSocketNotifier(QSocketNotifier *
notifier) = 0;
77 int registerTimer(
int interval, QObject *
object);
78 virtual void registerTimer(
int timerId,
int interval, QObject *
object) = 0;
79 virtual bool unregisterTimer(
int timerId) = 0;
80 virtual bool unregisterTimers(QObject *
object) = 0;
83 virtual void wakeUp() = 0;
84 virtual void interrupt() = 0;
85 virtual void flush() = 0;
87 virtual void startingUp();
88 virtual void closingDown();
90 typedef bool(*EventFilter)(
void *message);
91 EventFilter setEventFilter(EventFilter
filter);
92 bool filterEvent(
void *message);
107 #endif // QABSTRACTEVENTDISPATCHER_H
#define QT_BEGIN_NAMESPACE
PHONON_EXPORT Notifier * notifier()
Use this function to get a QObject pointer to connect to one of the Notifier signals.
Q_CORE_EXPORT QTextStream & flush(QTextStream &s)
QPair< int, int > TimerInfo