![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qglobal.h>#include <QtCore/qstring.h>#include <QtCore/qcoreevent.h>#include <QtCore/qdeadlinetimer.h>#include <QtCore/qeventloop.h>#include <QtCore/qobject.h>#include <QtCore/qnativeinterface.h>#include <QtCore/qcoreapplication_platform.h>Go to the source code of this file.
Classes | |
| class | QCoreApplication |
| \inmodule QtCore More... | |
Macros | |
| #define | qApp QCoreApplication::instance() |
| #define | Q_DECLARE_TR_FUNCTIONS(context) |
| #define | Q_COREAPP_STARTUP_FUNCTION(AFUNC) |
Typedefs | |
| typedef void(*) | QtStartUpFunction() |
| typedef void(*) | QtCleanUpFunction() |
Functions | |
| Q_CORE_EXPORT void | qAddPreRoutine (QtStartUpFunction) |
| Q_CORE_EXPORT void | qAddPostRoutine (QtCleanUpFunction) |
| Q_CORE_EXPORT void | qRemovePostRoutine (QtCleanUpFunction) |
| Q_CORE_EXPORT QString | qAppName () |
| #define Q_COREAPP_STARTUP_FUNCTION | ( | AFUNC | ) |
Definition at line 283 of file qcoreapplication.h.
| #define Q_DECLARE_TR_FUNCTIONS | ( | context | ) |
Definition at line 269 of file qcoreapplication.h.
| #define qApp QCoreApplication::instance() |
Definition at line 38 of file qcoreapplication.h.
| typedef void(*) QtCleanUpFunction() |
Definition at line 276 of file qcoreapplication.h.
| typedef void(*) QtStartUpFunction() |
Definition at line 275 of file qcoreapplication.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.
| QString qAppName | ( | ) |
Definition at line 554 of file qcoreapplication.cpp.
|
Definition at line 341 of file qcoreapplication.cpp.