summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 17:42:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 17:42:14 +0900
commit9492e618a7bcc0a58db039d6700b508dec2c9db3 (patch)
treed9e102d5ad79aaf0cb16c7c3644e38c9b7da6bc0 /src/kernel
parent979f5621d7cb2015eef214b0258dac1d6cd4c742 (diff)
downloadtqt3-9492e618a7bcc0a58db039d6700b508dec2c9db3.tar.gz
tqt3-9492e618a7bcc0a58db039d6700b508dec2c9db3.zip
Drop compatibility code for TQThread
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/ntqthread.h9
-rw-r--r--src/kernel/qthread.cpp10
2 files changed, 0 insertions, 19 deletions
diff --git a/src/kernel/ntqthread.h b/src/kernel/ntqthread.h
index edf45f89..dc0df082 100644
--- a/src/kernel/ntqthread.h
+++ b/src/kernel/ntqthread.h
@@ -45,11 +45,6 @@
#ifndef QT_H
#include "ntqwindowdefs.h"
-#ifndef TQT_NO_COMPAT
-#include "ntqmutex.h"
-#include "ntqsemaphore.h"
-#include "ntqwaitcondition.h"
-#endif // TQT_NO_COMPAT
#endif // QT_H
#include <limits.h>
@@ -61,10 +56,6 @@ class Q_EXPORT TQThread : public TQt
public:
static TQt::HANDLE currentThread();
-#ifndef TQT_NO_COMPAT
- static void postEvent( TQObject *,TQEvent * );
-#endif
-
static void initialize();
static void cleanup();
diff --git a/src/kernel/qthread.cpp b/src/kernel/qthread.cpp
index f09b1939..bb51e41f 100644
--- a/src/kernel/qthread.cpp
+++ b/src/kernel/qthread.cpp
@@ -252,16 +252,6 @@ bool TQThread::threadPostedEventsDisabled() const
\sa wait()
*/
-#ifndef TQT_NO_COMPAT
-/*! \obsolete
- Use TQApplication::postEvent() instead.
-*/
-void TQThread::postEvent( TQObject * receiver, TQEvent * event )
-{
- TQApplication::postEvent( receiver, event );
-}
-#endif
-
TQEventLoopThread::TQEventLoopThread() : TQThread()
{
//