diff options
Diffstat (limited to 'src/kernel/ntqobject.h')
-rw-r--r-- | src/kernel/ntqobject.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/kernel/ntqobject.h b/src/kernel/ntqobject.h index 5b64e2d01..943e8319c 100644 --- a/src/kernel/ntqobject.h +++ b/src/kernel/ntqobject.h @@ -63,6 +63,10 @@ class TQObjectUserData; #endif struct TQUObject; +#ifdef QT_THREAD_SUPPORT +class TQThread; +#endif + class Q_EXPORT TQObject: public TQt { TQ_OBJECT @@ -217,6 +221,18 @@ private: // Disabled copy constructor and operator= TQObject( const TQObject & ); TQObject &operator=( const TQObject & ); #endif + +public: +#ifdef QT_THREAD_SUPPORT + TQThread* contextThreadObject() const; + void moveToThread(TQThread *targetThread); +#endif + +private: +#ifdef QT_THREAD_SUPPORT + void moveToThread_helper(TQThread *targetThread); + void setThreadObject_helper(TQThread *targetThread); +#endif }; |