Qt 4.8
|
#include <qcoreapplication_p.h>
Public Functions | |
void | appendApplicationPathToLibraryPaths (void) |
virtual QString | appName () const |
void | checkReceiverThread (QObject *receiver) |
virtual void | createEventDispatcher () |
bool | notify_helper (QObject *, QEvent *) |
void | processCommandLineArguments () |
QCoreApplicationPrivate (int &aargc, char **aargv, uint flags) | |
bool | sendThroughApplicationEventFilters (QObject *, QEvent *) |
bool | sendThroughObjectEventFilters (QObject *, QEvent *) |
~QCoreApplicationPrivate () | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static bool | checkInstance (const char *method) |
static bool | isTranslatorInstalled (QTranslator *translator) |
static QString | macMenuBarName () |
static QThread * | mainThread () |
static QString | qmljsDebugArguments () |
static void | removePostedEvent (QEvent *) |
Removes event from the queue of posted events, and emits a warning message if appropriate. More... | |
static void | removePostedTimerEvent (QObject *object, int timerId) |
static void | sendPostedEvents (QObject *receiver, int event_type, QThreadData *data) |
static bool | testAttribute (uint flag) |
static QSettings * | trolltechConf () |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Static Public Variables | |
static int | app_compile_version = 0x040000 |
static uint | attribs |
static QAbstractEventDispatcher * | eventDispatcher = 0 |
static bool | is_app_closing = false |
static bool | is_app_running = false |
static QThread * | theMainThread = 0 |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 77 of file qcoreapplication_p.h.
QCoreApplicationPrivate::QCoreApplicationPrivate | ( | int & | aargc, |
char ** | aargv, | ||
uint | flags | ||
) |
Definition at line 428 of file qcoreapplication.cpp.
QCoreApplicationPrivate::~QCoreApplicationPrivate | ( | ) |
Definition at line 472 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::appendApplicationPathToLibraryPaths | ( | void | ) |
Definition at line 550 of file qcoreapplication.cpp.
|
virtual |
Reimplemented in QApplicationPrivate.
Definition at line 123 of file qcoreapplication_win.cpp.
Referenced by alert_widget().
|
static |
Definition at line 222 of file qcoreapplication.cpp.
Referenced by QApplication::alert(), alert_widget(), QCoreApplication::exec(), QCoreApplication::hasPendingEvents(), QCoreApplication::installTranslator(), QApplication::keyboardInputDirection(), QApplication::keyboardInputLocale(), qAppName(), QCoreApplication::removeTranslator(), and QApplication::syncX().
void QCoreApplicationPrivate::checkReceiverThread | ( | QObject * | receiver | ) |
Definition at line 527 of file qcoreapplication.cpp.
|
virtual |
Reimplemented in QApplicationPrivate.
Definition at line 496 of file qcoreapplication.cpp.
|
static |
|
static |
Referenced by QApplicationPrivate::appName().
|
static |
Definition at line 520 of file qcoreapplication.cpp.
Referenced by connManager(), QNetworkConfigurationManagerPrivate::initialize(), QFactoryLoader::instance(), QFactoryLoader::QFactoryLoader(), and QHostInfoLookupManager::QHostInfoLookupManager().
Helper function called by notify()
Definition at line 1077 of file qcoreapplication.cpp.
void QCoreApplicationPrivate::processCommandLineArguments | ( | ) |
Definition at line 232 of file qcoreapplication.cpp.
|
static |
Definition at line 570 of file qcoreapplication.cpp.
Referenced by QDeclarativeDebugServer::instance().
|
static |
Removes event from the queue of posted events, and emits a warning message if appropriate.
Definition at line 1739 of file qcoreapplication.cpp.
Referenced by QEvent::~QEvent().
|
static |
Definition at line 221 of file qcoreapplication_win.cpp.
Referenced by QEventDispatcherWin32Private::unregisterTimer().
|
static |
Definition at line 1488 of file qcoreapplication.cpp.
Referenced by QEventDispatcherMac::processEvents(), QEventDispatcherUNIX::processEvents(), processPostedEvents(), qt_internal_proc(), and QCoreApplication::sendPostedEvents().
bool QCoreApplicationPrivate::sendThroughApplicationEventFilters | ( | QObject * | receiver, |
QEvent * | event | ||
) |
Definition at line 1035 of file qcoreapplication.cpp.
Definition at line 1054 of file qcoreapplication.cpp.
|
inlinestatic |
Definition at line 146 of file qcoreapplication_p.h.
Referenced by QWidget::create(), QWidgetPrivate::init(), qt_cleanup(), QWidget::setParent(), QCoreApplication::testAttribute(), and QETWidget::translateKeyEvent().
|
static |
Referenced by QLibraryPrivate::isPlugin().
bool QCoreApplicationPrivate::aboutToQuitEmitted |
Definition at line 125 of file qcoreapplication_p.h.
Referenced by QtWndProc().
|
static |
Definition at line 147 of file qcoreapplication_p.h.
Referenced by QWidgetPrivate::init(), QApplication::QApplication(), and QWidget::setParent().
uint QCoreApplicationPrivate::application_type |
Definition at line 120 of file qcoreapplication_p.h.
Referenced by QApplicationPrivate::QApplicationPrivate().
|
mutable |
Definition at line 90 of file qcoreapplication_p.h.
int& QCoreApplicationPrivate::argc |
Definition at line 110 of file qcoreapplication_p.h.
Referenced by QApplicationPrivate::process_cmdline(), qt_init(), and qWinMain().
char** QCoreApplicationPrivate::argv |
Definition at line 111 of file qcoreapplication_p.h.
Referenced by QApplicationPrivate::process_cmdline(), and qt_init().
|
static |
Definition at line 145 of file qcoreapplication_p.h.
Referenced by qt_set_current_thread_to_main_thread().
QString QCoreApplicationPrivate::cachedApplicationDirPath |
Definition at line 126 of file qcoreapplication_p.h.
Referenced by QCoreApplication::applicationDirPath().
QString QCoreApplicationPrivate::cachedApplicationFilePath |
Definition at line 127 of file qcoreapplication_p.h.
Referenced by QCoreApplication::applicationFilePath().
|
static |
Definition at line 141 of file qcoreapplication_p.h.
Referenced by QCoreApplication::init(), qt_set_current_thread_to_main_thread(), and QETWidget::raiseOnClick().
QCoreApplication::EventFilter QCoreApplicationPrivate::eventFilter |
Definition at line 122 of file qcoreapplication_p.h.
bool QCoreApplicationPrivate::in_exec |
Definition at line 124 of file qcoreapplication_p.h.
|
static |
Definition at line 143 of file qcoreapplication_p.h.
Referenced by QCoreApplication::closingDown(), QApplication::inputContext(), QApplication::notify(), qt_call_post_routines(), QApplication::setFont(), QApplicationPrivate::setPalette_helper(), QApplication::setStyle(), QApplication::setWindowIcon(), QApplication::~QApplication(), QGraphicsScene::~QGraphicsScene(), and QWidget::~QWidget().
|
static |
Definition at line 142 of file qcoreapplication_p.h.
Referenced by qt_call_post_routines(), QApplication::setFont(), QApplicationPrivate::setPalette_helper(), QApplication::setStyle(), QApplication::setWindowIcon(), QCoreApplication::startingUp(), and QApplication::~QApplication().
|
static |
Definition at line 102 of file qcoreapplication_p.h.
Referenced by createEventDispatcher(), QThreadData::current(), qt_free_tls(), qt_set_current_thread_to_main_thread(), QCoreApplicationData::~QCoreApplicationData(), and QThreadData::~QThreadData().
QTranslatorList QCoreApplicationPrivate::translators |
Definition at line 118 of file qcoreapplication_p.h.
Referenced by QCoreApplication::installTranslator(), and QCoreApplication::removeTranslator().