6#include <private/qfieldlist_p.h>
8#include <QtCore/qmutex.h>
9#include <QtCore/qthread.h>
10#include <QtCore/qcoreevent.h>
11#include <QtCore/qwaitcondition.h>
12#include <QtCore/qcoreapplication.h>
14#include <QtCore/private/qthread_p.h>
51 struct MainObject :
public QObject {
56 MainObject m_mainObject;
85bool QQmlThreadPrivate::MainObject::event(
QEvent *
e)
260#if !QT_CONFIG(thread)
304#if !QT_CONFIG(thread)
339#if !QT_CONFIG(thread)
340 internalPostMethodToMain(
message);
static bool closingDown()
Returns true if the application objects are being destroyed; otherwise returns false.
static void postEvent(QObject *receiver, QEvent *event, int priority=Qt::NormalEventPriority)
void unlock() noexcept
Unlocks the mutex.
void lock() noexcept
Locks the mutex.
static QObjectPrivate * get(QObject *o)
void moveToThread(QThread *thread)
Changes the thread affinity for this object and its children.
virtual bool event(QEvent *event)
This virtual function receives events to an object and should return true if the event e was recogniz...
Q_WEAK_OVERLOAD void setObjectName(const QString &name)
Sets the object's name to name.
QQmlThreadPrivate(QQmlThread *)
void triggerThreadEvent()
QFieldList< QQmlThread::Message, &QQmlThread::Message::next > MessageList
bool event(QEvent *) override
This virtual function receives events to an object and should return true if the event e was recogniz...
QQmlThread::Message * mainSync
bool isThisThread() const
void waitForNextMessage()
void start(Priority=InheritPriority)
bool event(QEvent *event) override
This virtual function receives events to an object and should return true if the event e was recogniz...
static Qt::HANDLE currentThreadId() noexcept Q_DECL_PURE_FUNCTION
void setStackSize(uint stackSize)
bool wait(QMutex *, QDeadlineTimer=QDeadlineTimer(QDeadlineTimer::Forever))
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLdouble GLdouble GLdouble GLdouble q
#define QStringLiteral(str)