summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qapplication.h')
-rw-r--r--src/kernel/qapplication.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h
index 5611164..f05dbc3 100644
--- a/src/kernel/qapplication.h
+++ b/src/kernel/qapplication.h
@@ -352,11 +352,12 @@ private slots:
void postIMEvent( QObject *receiver, QIMEvent *event );
#endif
-private:
+public:
#ifdef QT_THREAD_SUPPORT
static QMutex *qt_mutex;
#endif // QT_THREAD_SUPPORT
+private:
int app_argc;
char **app_argv;
bool quit_now;
@@ -434,6 +435,7 @@ private:
friend class QDialog;
friend class QAccelManager;
friend class QEvent;
+ friend class QThread;
friend class QTranslator;
friend class QEventLoop;
friend Q_EXPORT void qt_ucm_initialize( QApplication * );
@@ -457,6 +459,7 @@ public:
static QThread* guiThread();
#endif
static bool isGuiThread();
+ static void threadTerminationHandler( QThread * );
};
inline int QApplication::argc() const