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_p.h>
Classes | |
struct | QPostEventListLocker |
Public Types | |
enum | Type { Tty , Gui } |
Public Types inherited from QObjectPrivate | |
typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions | |
static void | initLocale () |
static bool | checkInstance (const char *method) |
static bool | sendThroughObjectEventFilters (QObject *, QEvent *) |
static bool | notify_helper (QObject *, QEvent *) |
static void | setEventSpontaneous (QEvent *e, bool spontaneous) |
static void | removePostedEvent (QEvent *) |
Removes event from the queue of posted events, and emits a warning message if appropriate. | |
static QThread * | mainThread () |
static bool | threadRequiresCoreApplication () |
static void | sendPostedEvents (QObject *receiver, int event_type, QThreadData *data) |
static void | checkReceiverThread (QObject *receiver) |
static QPostEventListLocker | lockThreadPostEventList (QObject *object) |
static bool | isTranslatorInstalled (QTranslator *translator) |
static void | setApplicationFilePath (const QString &path) |
static void | clearApplicationFilePath () |
static bool | testAttribute (uint flag) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Static Public Attributes | |
static QBasicAtomicPointer< QThread > | theMainThread = Q_BASIC_ATOMIC_INITIALIZER(nullptr) |
static QBasicAtomicPointer< void > | theMainThreadId = Q_BASIC_ATOMIC_INITIALIZER(nullptr) |
static QString * | cachedApplicationFilePath = nullptr |
static QAbstractEventDispatcher * | eventDispatcher = nullptr |
static bool | is_app_running = false |
static bool | is_app_closing = false |
static bool | setuidAllowed = false |
static uint | attribs |
Definition at line 51 of file qcoreapplication_p.h.
Enumerator | |
---|---|
Tty | |
Gui |
Definition at line 59 of file qcoreapplication_p.h.
QCoreApplicationPrivate::QCoreApplicationPrivate | ( | int & | aargc, |
char ** | aargv ) |
Definition at line 436 of file qcoreapplication.cpp.
QCoreApplicationPrivate::~QCoreApplicationPrivate | ( | ) |
Definition at line 483 of file qcoreapplication.cpp.
Definition at line 567 of file qcoreapplication.cpp.
QString QCoreApplicationPrivate::appName | ( | ) | const |
Definition at line 161 of file qcoreapplication.cpp.
QString QCoreApplicationPrivate::appVersion | ( | ) | const |
Definition at line 174 of file qcoreapplication.cpp.
|
virtual |
Reimplemented in QGuiApplicationPrivate.
Definition at line 2076 of file qcoreapplication.cpp.
|
static |
Definition at line 205 of file qcoreapplication.cpp.
Definition at line 552 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::cleanupThreadData | ( | ) |
Definition at line 497 of file qcoreapplication.cpp.
|
inlinestatic |
Definition at line 153 of file qcoreapplication_p.h.
|
virtual |
Reimplemented in QApplicationPrivate, and QGuiApplicationPrivate.
Definition at line 523 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::deref | ( | ) |
Definition at line 2068 of file qcoreapplication.cpp.
|
virtual |
Reimplemented in QGuiApplicationPrivate.
Definition at line 532 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::execCleanup | ( | ) |
Definition at line 1490 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::init | ( | ) |
|
static |
Definition at line 588 of file qcoreapplication.cpp.
|
static |
Definition at line 2369 of file qcoreapplication.cpp.
|
static |
Definition at line 1593 of file qcoreapplication.cpp.
|
static |
Definition at line 538 of file qcoreapplication.cpp.
Helper function called by QCoreApplicationPrivate::notify() and qapplication.cpp
Definition at line 1281 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::processCommandLineArguments | ( | ) |
Definition at line 222 of file qcoreapplication.cpp.
|
inline |
Definition at line 173 of file qcoreapplication_p.h.
|
virtual |
Reimplemented in QGuiApplicationPrivate.
Definition at line 2151 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::quitAutomatically | ( | ) |
Definition at line 2093 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::ref | ( | ) |
Definition at line 2063 of file qcoreapplication.cpp.
Removes event from the queue of posted events, and emits a warning message if appropriate.
\threadsafe
Definition at line 2017 of file qcoreapplication.cpp.
|
static |
Definition at line 1764 of file qcoreapplication.cpp.
bool QCoreApplicationPrivate::sendThroughApplicationEventFilters | ( | QObject * | receiver, |
QEvent * | event ) |
Definition at line 1236 of file qcoreapplication.cpp.
|
static |
Definition at line 1258 of file qcoreapplication.cpp.
Definition at line 2399 of file qcoreapplication.cpp.
|
inlinestatic |
Definition at line 97 of file qcoreapplication_p.h.
|
inlinestatic |
Definition at line 169 of file qcoreapplication_p.h.
|
static |
Definition at line 544 of file qcoreapplication.cpp.
bool QCoreApplicationPrivate::aboutToQuitEmitted |
Definition at line 159 of file qcoreapplication_p.h.
QCoreApplicationPrivate::Type QCoreApplicationPrivate::application_type |
Definition at line 148 of file qcoreapplication_p.h.
int& QCoreApplicationPrivate::argc |
Definition at line 133 of file qcoreapplication_p.h.
char** QCoreApplicationPrivate::argv |
Definition at line 134 of file qcoreapplication_p.h.
|
static |
Definition at line 168 of file qcoreapplication_p.h.
QString QCoreApplicationPrivate::cachedApplicationDirPath |
Definition at line 150 of file qcoreapplication_p.h.
Definition at line 151 of file qcoreapplication_p.h.
|
static |
Definition at line 162 of file qcoreapplication_p.h.
bool QCoreApplicationPrivate::in_exec |
Definition at line 158 of file qcoreapplication_p.h.
|
static |
Definition at line 164 of file qcoreapplication_p.h.
|
static |
Definition at line 163 of file qcoreapplication_p.h.
QString QCoreApplicationPrivate::qmljs_debug_arguments |
Definition at line 172 of file qcoreapplication_p.h.
QAtomicInt QCoreApplicationPrivate::quitLockRef |
Definition at line 106 of file qcoreapplication_p.h.
|
static |
Definition at line 167 of file qcoreapplication_p.h.
|
static |
Definition at line 113 of file qcoreapplication_p.h.
|
static |
Definition at line 114 of file qcoreapplication_p.h.
bool QCoreApplicationPrivate::threadData_clean |
Definition at line 160 of file qcoreapplication_p.h.
QReadWriteLock QCoreApplicationPrivate::translateMutex |
Definition at line 144 of file qcoreapplication_p.h.
QTranslatorList QCoreApplicationPrivate::translators |
Definition at line 143 of file qcoreapplication_p.h.