46 #include "qplatformdefs.h" 48 #include "private/qwscommand_qws_p.h" 66 QEventLoop::ProcessEventsFlags
flags;
130 bool ret =
qApp->qwsProcessEvent(event) == 1;
156 g_source_set_can_recurse(&qwsEventSource->source,
true);
159 qwsEventSource->q = 0;
160 qwsEventSource->d = 0;
162 g_source_attach(&qwsEventSource->source, mainContext);
174 g_source_destroy(&
d->qwsEventSource->source);
175 d->qwsEventSource = 0;
181 QEventLoop::ProcessEventsFlags saved_flags =
d->qwsEventSource->flags;
182 d->qwsEventSource->flags = flags;
184 d->qwsEventSource->flags = saved_flags;
191 d->qwsEventSource->q =
this;
192 d->qwsEventSource->d =
d;
The QWSDisplay class provides a display for QWS; it is an internal class.
static gboolean qwsEventSourceDispatch(GSource *s, GSourceFunc callback, gpointer user_data)
static void callback(AuServer *, AuEventHandlerRec *, AuEvent *e, AuPointer p)
static gboolean qwsEventSourcePrepare(GSource *s, gint *timeout)
bool filterEvent(void *message)
Sends message through the event filter that was set by setEventFilter().
#define QT_END_NAMESPACE
This macro expands to.
QList< QWSEvent * > queuedUserInputEvents
QWSEventDispatcherGlib * q
static gboolean qwsEventSourceCheck(GSource *s)
QWSEventDispatcherGlib(QObject *parent=0)
bool eventPending() const
The QObject class is the base class of all Qt objects.
~QWSEventDispatcherGlib()
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
The QWSEvent class encapsulates an event in Qt for Embedded Linux.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
T takeFirst()
Removes the first item in the list and returns it.
QWSEventDispatcherGlibPrivate()
static GSourceFuncs qwsEventSourceFuncs
bool processEvents(QEventLoop::ProcessEventsFlags flags)
Processes pending events that match flags until there are no more events to process.
QWSEventDispatcherGlibPrivate * d
GQWSEventSource * qwsEventSource
#define Q_DECLARE_PUBLIC(Class)
QList< QWSCommand * > * qt_get_server_queue()
QEventLoop::ProcessEventsFlags flags
bool processEvents(QEventLoop::ProcessEventsFlags flags)
Processes pending events that match flags until there are no more events to process.
The QList class is a template class that provides lists.