summaryrefslogtreecommitdiffstats
path: root/src/tools/qthreadinstance_p.h
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-12-19 14:03:09 -0600
committerDarrell Anderson <[email protected]>2012-12-19 14:03:09 -0600
commit35202ed0d899a9ff3c77dad72b501fb30e4dcf93 (patch)
tree683787f69d937483b860973ce17f0c5d430a142d /src/tools/qthreadinstance_p.h
parent8d5add0e87ad913bdf0362a83f431995115f3bfa (diff)
parentf19aa203c934d0f85862fdf810a87fe7c5777d17 (diff)
downloadqt3-35202ed0d899a9ff3c77dad72b501fb30e4dcf93.tar.gz
qt3-35202ed0d899a9ff3c77dad72b501fb30e4dcf93.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/qt3
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