summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ntqthread.h')
-rw-r--r--src/kernel/ntqthread.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/kernel/ntqthread.h b/src/kernel/ntqthread.h
index c3679fbc..824578c2 100644
--- a/src/kernel/ntqthread.h
+++ b/src/kernel/ntqthread.h
@@ -118,11 +118,25 @@ protected:
private:
TQThreadInstance * d;
friend class TQThreadInstance;
+ friend class TQCoreApplicationThread;
+ friend class TQApplication;
+ friend class TQEventLoop;
#if defined(TQ_DISABLE_COPY)
TQThread( const TQThread & );
TQThread &operator=( const TQThread & );
#endif // TQ_DISABLE_COPY
+
+public:
+ static TQThread* currentThreadObject();
+};
+
+class Q_EXPORT TQEventLoopThread : public TQThread
+{
+ public:
+ TQEventLoopThread();
+ ~TQEventLoopThread();
+ virtual void run();
};
#endif // QT_THREAD_SUPPORT