40 #ifndef QCOREAPPLICATION_P_H
41 #define QCOREAPPLICATION_P_H
54 #include "QtCore/qcoreapplication.h"
55 #if QT_CONFIG(commandlineparser)
56 #include "QtCore/qcommandlineoption.h"
58 #include "QtCore/qreadwritelock.h"
59 #include "QtCore/qtranslator.h"
60 #if QT_CONFIG(settings)
61 #include "QtCore/qsettings.h"
64 #include "private/qobject_p.h"
65 #include "private/qlocking_p.h"
69 #include "private/qcore_mac_p.h"
109 static QString infoDictionaryStringProperty(
const QString &propertyName);
112 static void initLocale();
114 static bool checkInstance(
const char *
method);
116 #if QT_CONFIG(commandlineparser)
120 #ifndef QT_NO_QOBJECT
121 bool sendThroughApplicationEventFilters(
QObject *,
QEvent *);
122 static bool sendThroughObjectEventFilters(
QObject *,
QEvent *);
126 virtual void createEventDispatcher();
127 virtual void eventDispatcherReady();
128 static void removePostedEvent(
QEvent *);
130 static void removePostedTimerEvent(
QObject *
object,
int timerId);
136 virtual bool canQuitAutomatically();
137 void quitAutomatically();
142 static bool threadRequiresCoreApplication();
146 static void checkReceiverThread(
QObject *receiver);
147 void cleanupThreadData();
156 static QPostEventListLocker lockThreadPostEventList(
QObject *
object);
161 #if defined(Q_OS_WIN)
165 void appendApplicationPathToLibraryPaths(
void);
167 #ifndef QT_NO_TRANSLATION
170 static bool isTranslatorInstalled(
QTranslator *translator);
177 static void setApplicationFilePath(
const QString &
path);
180 #ifndef QT_NO_QOBJECT
197 void processCommandLineArguments();
The QAbstractEventDispatcher class provides an interface to manage Qt's event queue.
The QAtomicInt class provides platform-independent atomic operations on int.
The QCoreApplication class provides an event loop for Qt applications without UI.
static bool is_app_closing
static void setEventSpontaneous(QEvent *e, bool spontaneous)
QCoreApplicationPrivate::Type application_type
static bool setuidAllowed
QString qmljsDebugArgumentsString() const
QString cachedApplicationDirPath
static int app_compile_version
QReadWriteLock translateMutex
static QAbstractEventDispatcher * eventDispatcher
static QString * cachedApplicationFilePath
static QBasicAtomicPointer< QThread > theMainThread
static bool is_app_running
static bool testAttribute(uint flag)
static void clearApplicationFilePath()
QTranslatorList translators
QString qmljs_debug_arguments
The QEvent class is the base class of all event classes. Event objects contain event parameters.
The QObject class is the base class of all Qt objects.
The QReadWriteLock class provides read-write locking.
The QString class provides a Unicode character string.
The QTranslator class provides internationalization support for text output.
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro vuzp8 reg2 vuzp d d ®2 endm macro vzip8 reg2 vzip d d ®2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld init[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1 beq endif SRC MASK if dst_r_bpp DST_R else add endif PF add sub src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head pixblock_size cache_preload_simple process_pixblock_tail pixinterleave dst_w_basereg irp beq endif process_pixblock_tail_head tst beq irp if pixblock_size chunk_size tst beq pixld SRC pixld MASK if DST_R else pixld DST_R endif if src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head if pixblock_size cache_preload_simple endif process_pixblock_tail pixinterleave dst_w_basereg irp if pixblock_size chunk_size tst beq if DST_W else pixst DST_W else mov ORIG_W endif add lsl if lsl endif if lsl endif lsl endif lsl endif lsl endif subs mov DST_W if regs_shortage str endif bge start_of_loop_label endm macro generate_composite_function
QT_BEGIN_NAMESPACE typedef QList< QTranslator * > QTranslatorList
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char * method
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLsizei const GLchar *const * path
std::unique_lock< QMutex > locker