summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqobject.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-06 16:48:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-06 16:48:15 -0600
commit3f5dc49edf41359f18e7c94c28a345a9600eb44f (patch)
tree9377a62fd7701d20da0f08cc391035d8d072e8bf /src/kernel/ntqobject.h
parent6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3 (diff)
downloadtqt3-3f5dc49edf41359f18e7c94c28a345a9600eb44f.tar.gz
tqt3-3f5dc49edf41359f18e7c94c28a345a9600eb44f.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/ntqobject.h')
-rw-r--r--src/kernel/ntqobject.h16
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
};