summaryrefslogtreecommitdiffstats
path: root/src/tools/qthreadinstance_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qthreadinstance_p.h')
-rw-r--r--src/tools/qthreadinstance_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/qthreadinstance_p.h b/src/tools/qthreadinstance_p.h
index 72611b1..7580b25 100644
--- a/src/tools/qthreadinstance_p.h
+++ b/src/tools/qthreadinstance_p.h
@@ -62,8 +62,12 @@
#include <pthread.h>
#endif
+class QThread;
+class QEventLoop;
+
class QThreadInstance {
public:
+ static void setCurrentThread(QThread *thread);
static QThreadInstance *current();
void init(unsigned int stackSize);
@@ -95,6 +99,8 @@ public:
static unsigned int __stdcall start( void * );
static void finish( QThreadInstance * );
#endif // Q_OS_WIN32
+
+ QEventLoop* eventLoop;
};
#endif // QT_THREAD_SUPPORT