QCoreApplication
#include <QtCore/QCoreApplication>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QCoreApplication
Overview
Inheritance
QCoreApplication | |||
bb::Application | |||
bb::cascades::Application |
Public Types Index
enum @4ApplicationFlags QT_VERSION | 0x01000000 | |
enum EncodingCodecForTr, UnicodeUTF8, DefaultCodec CodecForTr | |
bool(* | EventFilter |
Properties Index
Public Functions Index
QCoreApplication (int &argc, char **argv, int=ApplicationFlags) | |
~QCoreApplication () | |
bool | filterEvent (void *message, long *result) |
virtual bool | notify (QObject *, QEvent *) |
EventFilter | setEventFilter (EventFilter filter) |
Static Public Functions Index
void | addLibraryPath (const QString &) |
QString | applicationDirPath () |
QString | applicationFilePath () |
QString | applicationName () |
qint64 | applicationPid () |
QString | applicationVersion () |
QStringList | arguments () |
bool | closingDown () |
int | exec () |
void | exit (int retcode=0) |
void | flush () |
bool | hasPendingEvents () |
void | installTranslator (QTranslator *messageFile) |
QCoreApplication * | instance () |
QStringList | libraryPaths () |
QString | organizationDomain () |
QString | organizationName () |
void | postEvent (QObject *receiver, QEvent *event) |
void | postEvent (QObject *receiver, QEvent *event, int priority) |
void | processEvents (QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents) |
void | processEvents (QEventLoop::ProcessEventsFlags flags, int maxtime) |
void | removeLibraryPath (const QString &) |
void | removePostedEvents (QObject *receiver) |
void | removePostedEvents (QObject *receiver, int eventType) |
void | removeTranslator (QTranslator *messageFile) |
bool | sendEvent (QObject *receiver, QEvent *event) |
void | sendPostedEvents (QObject *receiver, int event_type) |
void | sendPostedEvents () |
void | setApplicationName (const QString &application) |
void | setApplicationVersion (const QString &version) |
void | setAttribute (Qt::ApplicationAttribute attribute, bool on=true) |
void | setLibraryPaths (const QStringList &) |
void | setOrganizationDomain (const QString &orgDomain) |
void | setOrganizationName (const QString &orgName) |
bool | startingUp () |
bool | testAttribute (Qt::ApplicationAttribute attribute) |
QString | translate (const char *context, const char *key, const char *disambiguation=0, Encoding encoding=CodecForTr) |
QString | translate (const char *context, const char *key, const char *disambiguation, Encoding encoding, int n) |
Protected Functions Index
QCoreApplication (QCoreApplicationPrivate &p) | |
virtual bool | compressEvent (QEvent *, QObject *receiver, QPostEventList *) |
virtual bool | event (QEvent *) |
Public Slots Index
void | quit () |
Signals Index
void | aboutToQuit () |
void | unixSignal (int) |
Public Types
- ApplicationFlags QT_VERSION | 0x01000000
- CodecForTr
- UnicodeUTF8
- DefaultCodec CodecForTr
typedef bool(*
Public Functions
Destructor.
bool
virtual bool
EventFilter
Static Public Functions
void
qint64
bool
int
void
void
bool
void
void
void
void
void
void
void
void
void
bool
void
void
void
void
void
void
void
void
bool
bool
Protected Functions
virtual bool
virtual bool
Public Slots
void
Signals
void
void
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy