42 #ifndef QCOREAPPLICATION_P_H 43 #define QCOREAPPLICATION_P_H 56 #include "QtCore/qcoreapplication.h" 57 #include "QtCore/qtranslator.h" 58 #include "QtCore/qsettings.h" 59 #include "private/qobject_p.h" 69 #if defined(Q_OS_SYMBIAN) 70 # if !defined(QT_NO_SYSTEMLOCALE) 71 class QEnvironmentChangeNotifier;
73 class CApaCommandLine;
92 virtual void createEventDispatcher();
93 static void removePostedEvent(
QEvent *);
95 static void removePostedTimerEvent(
QObject *
object,
int timerId);
99 static QString macMenuBarName();
104 static bool checkInstance(
const char *method);
107 #if !defined (QT_NO_DEBUG) || defined (QT_MAC_FRAMEWORK_BUILD) || defined (Q_OS_SYMBIAN) 108 void checkReceiverThread(
QObject *receiver);
112 void appendApplicationPathToLibraryPaths(
void);
113 void processCommandLineArguments();
115 static QString qmljsDebugArguments();
117 #ifndef QT_NO_TRANSLATION 128 #if defined(Q_OS_SYMBIAN) 129 # if !defined(QT_NO_SYSTEMLOCALE) 133 static CApaCommandLine* symbianCommandLine();
134 #ifndef QT_NO_LIBRARY 135 static void rebuildInstallLibraryPaths();
139 static bool isTranslatorInstalled(
QTranslator *translator);
148 #if defined(QT3_SUPPORT) 149 static bool useQt3Support;
156 #endif // QCOREAPPLICATION_P_H QCoreApplication::EventFilter eventFilter
static bool is_app_running
#define QT_END_NAMESPACE
This macro expands to.
QString cachedApplicationFilePath
QString cachedApplicationDirPath
The QSettings class provides persistent platform-independent application settings.
static bool testAttribute(uint flag)
static QThread * theMainThread
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QList< QTranslator * > QTranslatorList
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
static int app_compile_version
The QTranslator class provides internationalization support for text output.
The QCoreApplication class provides an event loop for console Qt applications.
#define Q_DECLARE_PUBLIC(Class)
static QAbstractEventDispatcher * eventDispatcher
bool(* EventFilter)(void *message, long *result)
A function with the following signature that can be used as an event filter:
static bool is_app_closing
QTranslatorList translators
The QEvent class is the base class of all event classes.
The QThread class provides a platform-independent way to manage threads.
The QAbstractEventDispatcher class provides an interface to manage Qt's event queue.