![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qcoreapplication.h"#include "qcoreapplication_p.h"#include "qabstracteventdispatcher.h"#include "qcoreevent.h"#include "qcoreevent_p.h"#include "qeventloop.h"#include "qmetaobject.h"#include <private/qproperty_p.h>#include <qdatastream.h>#include <qdebug.h>#include <qdir.h>#include <qfile.h>#include <qfileinfo.h>#include <private/qfilesystementry_p.h>#include <qmutex.h>#include <private/qloggingregistry_p.h>#include <qscopeguard.h>#include <qstandardpaths.h>#include <qthread.h>#include <qthreadstorage.h>#include <private/qthread_p.h>#include <qlibraryinfo.h>#include <qpointer.h>#include <qvarlengtharray.h>#include <private/qfactoryloader_p.h>#include <private/qfunctions_p.h>#include <private/qlocale_p.h>#include <private/qlocking_p.h>#include <private/qhooks_p.h>#include <private/qnativeinterface_p.h>#include <stdlib.h>#include <qtcore_tracepoints_p.h>#include <algorithm>#include <memory>#include <string>#include "moc_qcoreapplication.cpp"Go to the source code of this file.
Classes | |
| struct | QCoreApplicationData |
Typedefs | |
| typedef QList< QtStartUpFunction > | QStartUpFuncList |
| typedef QList< QtCleanUpFunction > | QVFuncList |
Functions | |
| Q_TRACE_PREFIX (qtcore, "#include <qcoreevent.h>") | |
| Q_TRACE_METADATA (qtcore, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;") | |
| Q_TRACE_POINT (qtcore, QCoreApplication_postEvent_entry, QObject *receiver, QEvent *eventevent, QEvent::Type typetype) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_postEvent_exit) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_postEvent_event_compressed, QObject *receiver, QEvent *eventevent) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_postEvent_event_posted, QObject *receiver, QEvent *eventevent, QEvent::Type typetype) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_sendEvent, QObject *receiver, QEvent *eventevent, QEvent::Type typetype) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_sendSpontaneousEvent, QObject *receiver, QEvent *eventevent, QEvent::Type typetype) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_notify_entry, QObject *receiver, QEvent *eventevent, QEvent::Type typetype) | |
| Q_TRACE_POINT (qtcore, QCoreApplication_notify_exit, bool consumed, bool filtered) | |
| void QT_MANGLE_NAMESPACE | qt_startup_hook () |
| void | qAddPreRoutine (QtStartUpFunction pp) |
| void | qAddPostRoutine (QtCleanUpFunction pp) |
| void | qRemovePostRoutine (QtCleanUpFunction pp) |
| static void | qt_call_pre_routines () |
| void Q_CORE_EXPORT | qt_call_post_routines () |
| qsizetype | qGlobalPostedEventsCount () |
| QString | qAppName () |
| void | Q_TRACE_INSTRUMENT (qtcore) QCoreApplicationPrivate |
| static bool | doNotify (QObject *, QEvent *) |
| static void | replacePercentN (QString *resultresult, int nn) |
| QString | qtTrId (const char *idid, int nn) |
| static QString | qAppFileName () |
Variables | |
| static Q_CONSTINIT QBasicMutex | globalRoutinesMutex |
| static Q_CONSTINIT bool | preRoutinesCalled = false |
| static Q_CONSTINIT bool | quitLockEnabled = true |
| typedef QList< QtStartUpFunction > QStartUpFuncList |
Definition at line 302 of file qcoreapplication.cpp.
| typedef QList< QtCleanUpFunction > QVFuncList |
Definition at line 304 of file qcoreapplication.cpp.
Definition at line 1204 of file qcoreapplication.cpp.
| void Q_TRACE_INSTRUMENT | ( | qtcore | ) |
Definition at line 785 of file qcoreapplication.cpp.
| Q_TRACE_METADATA | ( | qtcore | , |
| "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;" | ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_notify_entry | , | ||
| QObject * | receiver, | ||
| QEvent * | event, | ||
| QEvent::Type | type ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_notify_exit | , | ||
| bool | consumed, | ||
| bool | filtered ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_postEvent_entry | , | ||
| QObject * | receiver, | ||
| QEvent * | event, | ||
| QEvent::Type | type ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_postEvent_event_compressed | , | ||
| QObject * | receiver, | ||
| QEvent * | event ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_postEvent_event_posted | , | ||
| QObject * | receiver, | ||
| QEvent * | event, | ||
| QEvent::Type | type ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_postEvent_exit | ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_sendEvent | , | ||
| QObject * | receiver, | ||
| QEvent * | event, | ||
| QEvent::Type | type ) |
| Q_TRACE_POINT | ( | qtcore | , |
| QCoreApplication_sendSpontaneousEvent | , | ||
| QObject * | receiver, | ||
| QEvent * | event, | ||
| QEvent::Type | type ) |
| Q_TRACE_PREFIX | ( | qtcore | , |
| "#include <qcoreevent.h>" | ) |
|
Definition at line 332 of file qcoreapplication.cpp.
| void qAddPreRoutine | ( | QtStartUpFunction | p | ) |
Adds a global routine that will be called from the QCoreApplication constructor. The public API is Q_COREAPP_STARTUP_FUNCTION.
Definition at line 315 of file qcoreapplication.cpp.
References preRoutinesCalled.
|
static |
Definition at line 2419 of file qcoreapplication.cpp.
| QString qAppName | ( | ) |
Definition at line 554 of file qcoreapplication.cpp.
| qsizetype qGlobalPostedEventsCount | ( | ) |
Definition at line 398 of file qcoreapplication.cpp.
|
Definition at line 341 of file qcoreapplication.cpp.
| Q_CORE_EXPORT void qt_call_post_routines | ( | ) |
Definition at line 370 of file qcoreapplication.cpp.
|
static |
Definition at line 350 of file qcoreapplication.cpp.
References preRoutinesCalled.
| void QT_MANGLE_NAMESPACE qt_startup_hook | ( | ) |
Definition at line 298 of file qcoreapplication.cpp.
| QString qtTrId | ( | const char * | id, |
| int | n ) |
Definition at line 2353 of file qcoreapplication.cpp.
Definition at line 2261 of file qcoreapplication.cpp.
|
static |
Definition at line 306 of file qcoreapplication.cpp.
|
static |
Definition at line 307 of file qcoreapplication.cpp.
Referenced by qAddPreRoutine(), and qt_call_pre_routines().
|
static |
Definition at line 441 of file qcoreapplication.cpp.