summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqobject.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-12-19 14:03:14 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-12-19 14:03:14 -0600
commitf8224f3a623495e4e1dbf852554d7601a6b7c4c4 (patch)
treed5583114ba48669960c9f7d68927687ea652a0b8 /src/kernel/ntqobject.h
parent25240579092616b09d28705ac84e13e49b744707 (diff)
parente8cbbedf46da493d2c206444a7e18e5777402905 (diff)
downloadtqt-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.tar.gz
tqt-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
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
};