Qt 4.8
Public Functions | Static Public Functions | Protected Functions | List of all members
QEventDispatcherGlib Class Reference

#include <qeventdispatcher_glib_p.h>

Inheritance diagram for QEventDispatcherGlib:
QAbstractEventDispatcher QObject QGuiEventDispatcherGlib QPAEventDispatcherGlib QWSEventDispatcherGlib

Public Functions

void flush ()
 Flushes the event queue. More...
 
bool hasPendingEvents ()
 Returns true if there is an event waiting; otherwise returns false. More...
 
void interrupt ()
 Interrupts event dispatching; i. More...
 
bool processEvents (QEventLoop::ProcessEventsFlags flags)
 Processes pending events that match flags until there are no more events to process. More...
 
 QEventDispatcherGlib (QObject *parent=0)
 
 QEventDispatcherGlib (GMainContext *context, QObject *parent=0)
 
QList< TimerInforegisteredTimers (QObject *object) const
 Returns a list of registered timers for object. More...
 
void registerSocketNotifier (QSocketNotifier *socketNotifier)
 Registers notifier with the event loop. More...
 
void registerTimer (int timerId, int interval, QObject *object)
 Register a timer with the specified timerId and interval for the given object. More...
 
void unregisterSocketNotifier (QSocketNotifier *socketNotifier)
 Unregisters notifier from the event dispatcher. More...
 
bool unregisterTimer (int timerId)
 Unregisters the timer with the given timerId. More...
 
bool unregisterTimers (QObject *object)
 Unregisters all the timers associated with the given object. More...
 
void wakeUp ()
 Wakes up the event loop. More...
 
 ~QEventDispatcherGlib ()
 
- Public Functions inherited from QAbstractEventDispatcher
virtual void closingDown ()
 
bool filterEvent (void *message)
 Sends message through the event filter that was set by setEventFilter(). More...
 
 QAbstractEventDispatcher (QObject *parent=0)
 Constructs a new event dispatcher with the given parent. More...
 
int registerTimer (int interval, QObject *object)
 Registers a timer with the specified interval for the given object. More...
 
EventFilter setEventFilter (EventFilter filter)
 Replaces the event filter function for this QAbstractEventDispatcher with filter and returns the replaced event filter function. More...
 
virtual void startingUp ()
 
 ~QAbstractEventDispatcher ()
 Destroys the event dispatcher. More...
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Static Public Functions

static bool versionSupported ()
 
- Static Public Functions inherited from QAbstractEventDispatcher
static QAbstractEventDispatcherinstance (QThread *thread=0)
 Returns a pointer to the event dispatcher object for the specified thread. More...
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 

Protected Functions

 QEventDispatcherGlib (QEventDispatcherGlibPrivate &dd, QObject *parent)
 
- Protected Functions inherited from QAbstractEventDispatcher
 QAbstractEventDispatcher (QAbstractEventDispatcherPrivate &, QObject *parent)
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 

Additional Inherited Members

- Public Types inherited from QAbstractEventDispatcher
typedef bool(* EventFilter) (void *message)
 Typedef for a function with the signature. More...
 
typedef QPair< int, int > TimerInfo
 Typedef for QPair<int, int>. More...
 
- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 
- Signals inherited from QAbstractEventDispatcher
void aboutToBlock ()
 This signal is emitted before the event loop calls a function that could block. More...
 
void awake ()
 This signal is emitted after the event loop returns from a function that could block. More...
 
- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 67 of file qeventdispatcher_glib_p.h.

Constructors and Destructors

◆ QEventDispatcherGlib() [1/3]

QEventDispatcherGlib::QEventDispatcherGlib ( QObject parent = 0)
explicit

Definition at line 359 of file qeventdispatcher_glib.cpp.

361 {
362 }
QAbstractEventDispatcher(QObject *parent=0)
Constructs a new event dispatcher with the given parent.

◆ QEventDispatcherGlib() [2/3]

QEventDispatcherGlib::QEventDispatcherGlib ( GMainContext context,
QObject parent = 0 
)
explicit

Definition at line 364 of file qeventdispatcher_glib.cpp.

365  : QAbstractEventDispatcher(*(new QEventDispatcherGlibPrivate(mainContext)), parent)
366 { }
QAbstractEventDispatcher(QObject *parent=0)
Constructs a new event dispatcher with the given parent.

◆ ~QEventDispatcherGlib()

QEventDispatcherGlib::~QEventDispatcherGlib ( )

Definition at line 368 of file qeventdispatcher_glib.cpp.

369 {
371 
372  // destroy all timer sources
373  qDeleteAll(d->timerSource->timerList);
374  d->timerSource->timerList.~QTimerInfoList();
375  g_source_destroy(&d->timerSource->source);
376  g_source_unref(&d->timerSource->source);
377  d->timerSource = 0;
378  g_source_destroy(&d->idleTimerSource->source);
379  g_source_unref(&d->idleTimerSource->source);
380  d->idleTimerSource = 0;
381 
382  // destroy socket notifier source
383  for (int i = 0; i < d->socketNotifierSource->pollfds.count(); ++i) {
384  GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds[i];
385  g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd);
386  delete p;
387  }
388  d->socketNotifierSource->pollfds.~QList<GPollFDWithQSocketNotifier *>();
389  g_source_destroy(&d->socketNotifierSource->source);
390  g_source_unref(&d->socketNotifierSource->source);
391  d->socketNotifierSource = 0;
392 
393  // destroy post event source
394  g_source_destroy(&d->postEventSource->source);
395  g_source_unref(&d->postEventSource->source);
396  d->postEventSource = 0;
397 
398  Q_ASSERT(d->mainContext != 0);
399 #if GLIB_CHECK_VERSION (2, 22, 0)
400  g_main_context_pop_thread_default (d->mainContext);
401 #endif
402  g_main_context_unref(d->mainContext);
403  d->mainContext = 0;
404 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482
Q_OUTOFLINE_TEMPLATE void qDeleteAll(ForwardIterator begin, ForwardIterator end)
Definition: qalgorithms.h:319

◆ QEventDispatcherGlib() [3/3]

QEventDispatcherGlib::QEventDispatcherGlib ( QEventDispatcherGlibPrivate dd,
QObject parent 
)
protected

Definition at line 597 of file qeventdispatcher_glib.cpp.

598  : QAbstractEventDispatcher(dd, parent)
599 {
600 }
QAbstractEventDispatcher(QObject *parent=0)
Constructs a new event dispatcher with the given parent.

Functions

◆ flush()

void QEventDispatcherGlib::flush ( )
virtual

Flushes the event queue.

This normally returns almost immediately. Does nothing on platforms other than X11.

Implements QAbstractEventDispatcher.

Reimplemented in QGuiEventDispatcherGlib.

Definition at line 584 of file qeventdispatcher_glib.cpp.

585 {
586 }

◆ hasPendingEvents()

bool QEventDispatcherGlib::hasPendingEvents ( )
virtual

Returns true if there is an event waiting; otherwise returns false.

Implements QAbstractEventDispatcher.

Definition at line 437 of file qeventdispatcher_glib.cpp.

438 {
440  return g_main_context_pending(d->mainContext);
441 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

◆ interrupt()

void QEventDispatcherGlib::interrupt ( )
virtual

Interrupts event dispatching; i.

e. the event dispatcher will return from processEvents() as soon as possible.

Implements QAbstractEventDispatcher.

Definition at line 572 of file qeventdispatcher_glib.cpp.

573 {
574  wakeUp();
575 }
void wakeUp()
Wakes up the event loop.

◆ processEvents()

bool QEventDispatcherGlib::processEvents ( QEventLoop::ProcessEventsFlags  flags)
virtual

Processes pending events that match flags until there are no more events to process.

Returns true if an event was processed; otherwise returns false.

This function is especially useful if you have a long running operation and want to show its progress without allowing user input; i.e. by using the QEventLoop::ExcludeUserInputEvents flag.

If the QEventLoop::WaitForMoreEvents flag is set in flags, the behavior of this function is as follows:

  • If events are available, this function returns after processing them.

  • If no events are available, this function will wait until more are available and return after processing newly available events.

If the QEventLoop::WaitForMoreEvents flag is not set in flags, and no events are available, this function will return immediately.

Note: This function does not process events continuously; it returns after all available events are processed.

See also
hasPendingEvents()

Implements QAbstractEventDispatcher.

Reimplemented in QPAEventDispatcherGlib, QWSEventDispatcherGlib, and QGuiEventDispatcherGlib.

Definition at line 406 of file qeventdispatcher_glib.cpp.

Referenced by QWSEventDispatcherGlib::processEvents(), QGuiEventDispatcherGlib::processEvents(), and QPAEventDispatcherGlib::processEvents().

407 {
409 
410  const bool canWait = (flags & QEventLoop::WaitForMoreEvents);
411  if (canWait)
412  emit aboutToBlock();
413  else
414  emit awake();
415 
416  // tell postEventSourcePrepare() and timerSource about any new flags
417  QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags;
418  d->timerSource->processEventsFlags = flags;
419 
420  if (!(flags & QEventLoop::EventLoopExec)) {
421  // force timers to be sent at normal priority
422  d->timerSource->runWithIdlePriority = false;
423  }
424 
425  bool result = g_main_context_iteration(d->mainContext, canWait);
426  while (!result && canWait)
427  result = g_main_context_iteration(d->mainContext, canWait);
428 
429  d->timerSource->processEventsFlags = savedFlags;
430 
431  if (canWait)
432  emit awake();
433 
434  return result;
435 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
void awake()
This signal is emitted after the event loop returns from a function that could block.
#define emit
Definition: qobjectdefs.h:76
void aboutToBlock()
This signal is emitted before the event loop calls a function that could block.

◆ registeredTimers()

QList< QEventDispatcherGlib::TimerInfo > QEventDispatcherGlib::registeredTimers ( QObject object) const
virtual

Returns a list of registered timers for object.

The timer ID is the first member in each pair; the interval is the second.

Implements QAbstractEventDispatcher.

Definition at line 561 of file qeventdispatcher_glib.cpp.

562 {
563  if (!object) {
564  qWarning("QEventDispatcherUNIX:registeredTimers: invalid argument");
565  return QList<TimerInfo>();
566  }
567 
568  Q_D(const QEventDispatcherGlib);
569  return d->timerSource->timerList.registeredTimers(object);
570 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
Q_CORE_EXPORT void qWarning(const char *,...)
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ registerSocketNotifier()

void QEventDispatcherGlib::registerSocketNotifier ( QSocketNotifier notifier)
virtual

Registers notifier with the event loop.

Subclasses must implement this method to tie a socket notifier into another event loop.

Implements QAbstractEventDispatcher.

Definition at line 443 of file qeventdispatcher_glib.cpp.

444 {
445  Q_ASSERT(notifier);
446  int sockfd = notifier->socket();
447  int type = notifier->type();
448 #ifndef QT_NO_DEBUG
449  if (sockfd < 0) {
450  qWarning("QSocketNotifier: Internal error");
451  return;
452  } else if (notifier->thread() != thread()
453  || thread() != QThread::currentThread()) {
454  qWarning("QSocketNotifier: socket notifiers cannot be enabled from another thread");
455  return;
456  }
457 #endif
458 
460 
461 
463  p->pollfd.fd = sockfd;
464  switch (type) {
466  p->pollfd.events = G_IO_IN | G_IO_HUP | G_IO_ERR;
467  break;
469  p->pollfd.events = G_IO_OUT | G_IO_ERR;
470  break;
472  p->pollfd.events = G_IO_PRI | G_IO_ERR;
473  break;
474  }
475  p->socketNotifier = notifier;
476 
477  d->socketNotifierSource->pollfds.append(p);
478 
479  g_source_add_poll(&d->socketNotifierSource->source, &p->pollfd);
480 }
double d
Definition: qnumeric_p.h:62
int type
Definition: qmetatype.cpp:239
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482
Type type() const
Returns the socket event type specified to the constructor.
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
Definition: qthread.cpp:419
Q_CORE_EXPORT void qWarning(const char *,...)
QThread * thread() const
Returns the thread in which the object lives.
Definition: qobject.cpp:1419
int socket() const
Returns the socket identifier specified to the constructor.

◆ registerTimer()

void QEventDispatcherGlib::registerTimer ( int  timerId,
int  interval,
QObject object 
)
virtual

Register a timer with the specified timerId and interval for the given object.

Implements QAbstractEventDispatcher.

Definition at line 513 of file qeventdispatcher_glib.cpp.

514 {
515 #ifndef QT_NO_DEBUG
516  if (timerId < 1 || interval < 0 || !object) {
517  qWarning("QEventDispatcherGlib::registerTimer: invalid arguments");
518  return;
519  } else if (object->thread() != thread() || thread() != QThread::currentThread()) {
520  qWarning("QObject::startTimer: timers cannot be started from another thread");
521  return;
522  }
523 #endif
524 
526  d->timerSource->timerList.registerTimer(timerId, interval, object);
527 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
Definition: qthread.cpp:419
Q_CORE_EXPORT void qWarning(const char *,...)
QThread * thread() const
Returns the thread in which the object lives.
Definition: qobject.cpp:1419

◆ unregisterSocketNotifier()

void QEventDispatcherGlib::unregisterSocketNotifier ( QSocketNotifier notifier)
virtual

Unregisters notifier from the event dispatcher.

Subclasses must reimplement this method to tie a socket notifier into another event loop. Reimplementations must call the base implementation.

Implements QAbstractEventDispatcher.

Definition at line 482 of file qeventdispatcher_glib.cpp.

483 {
484  Q_ASSERT(notifier);
485 #ifndef QT_NO_DEBUG
486  int sockfd = notifier->socket();
487  if (sockfd < 0) {
488  qWarning("QSocketNotifier: Internal error");
489  return;
490  } else if (notifier->thread() != thread()
491  || thread() != QThread::currentThread()) {
492  qWarning("QSocketNotifier: socket notifiers cannot be disabled from another thread");
493  return;
494  }
495 #endif
496 
498 
499  for (int i = 0; i < d->socketNotifierSource->pollfds.count(); ++i) {
500  GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds.at(i);
501  if (p->socketNotifier == notifier) {
502  // found it
503  g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd);
504 
505  d->socketNotifierSource->pollfds.removeAt(i);
506  delete p;
507 
508  return;
509  }
510  }
511 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
Definition: qthread.cpp:419
Q_CORE_EXPORT void qWarning(const char *,...)
QThread * thread() const
Returns the thread in which the object lives.
Definition: qobject.cpp:1419
int socket() const
Returns the socket identifier specified to the constructor.

◆ unregisterTimer()

bool QEventDispatcherGlib::unregisterTimer ( int  timerId)
virtual

Unregisters the timer with the given timerId.

Returns true if successful; otherwise returns false.

See also
registerTimer(), unregisterTimers()

Implements QAbstractEventDispatcher.

Definition at line 529 of file qeventdispatcher_glib.cpp.

530 {
531 #ifndef QT_NO_DEBUG
532  if (timerId < 1) {
533  qWarning("QEventDispatcherGlib::unregisterTimer: invalid argument");
534  return false;
535  } else if (thread() != QThread::currentThread()) {
536  qWarning("QObject::killTimer: timers cannot be stopped from another thread");
537  return false;
538  }
539 #endif
540 
542  return d->timerSource->timerList.unregisterTimer(timerId);
543 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
Definition: qthread.cpp:419
Q_CORE_EXPORT void qWarning(const char *,...)
QThread * thread() const
Returns the thread in which the object lives.
Definition: qobject.cpp:1419

◆ unregisterTimers()

bool QEventDispatcherGlib::unregisterTimers ( QObject object)
virtual

Unregisters all the timers associated with the given object.

Returns true if all timers were successful removed; otherwise returns false.

See also
unregisterTimer(), registeredTimers()

Implements QAbstractEventDispatcher.

Definition at line 545 of file qeventdispatcher_glib.cpp.

546 {
547 #ifndef QT_NO_DEBUG
548  if (!object) {
549  qWarning("QEventDispatcherGlib::unregisterTimers: invalid argument");
550  return false;
551  } else if (object->thread() != thread() || thread() != QThread::currentThread()) {
552  qWarning("QObject::killTimers: timers cannot be stopped from another thread");
553  return false;
554  }
555 #endif
556 
558  return d->timerSource->timerList.unregisterTimers(object);
559 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
Definition: qthread.cpp:419
Q_CORE_EXPORT void qWarning(const char *,...)
QThread * thread() const
Returns the thread in which the object lives.
Definition: qobject.cpp:1419

◆ versionSupported()

bool QEventDispatcherGlib::versionSupported ( )
static

Definition at line 588 of file qeventdispatcher_glib.cpp.

Referenced by QCoreApplicationPrivate::createEventDispatcher(), QThreadPrivate::createEventDispatcher(), QETWidget::doDeferredMap(), and QETWidget::raiseOnClick().

589 {
590 #if !defined(GLIB_MAJOR_VERSION) || !defined(GLIB_MINOR_VERSION) || !defined(GLIB_MICRO_VERSION)
591  return false;
592 #else
593  return ((GLIB_MAJOR_VERSION << 16) + (GLIB_MINOR_VERSION << 8) + GLIB_MICRO_VERSION) >= 0x020301;
594 #endif
595 }

◆ wakeUp()

void QEventDispatcherGlib::wakeUp ( )
virtual

Wakes up the event loop.

Note
This class or function is threadsafe.
See also
awake()

Implements QAbstractEventDispatcher.

Definition at line 577 of file qeventdispatcher_glib.cpp.

Referenced by interrupt().

578 {
580  d->postEventSource->serialNumber.ref();
581  g_main_context_wakeup(d->mainContext);
582 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482

The documentation for this class was generated from the following files: