summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 17:42:14 +0900
committerMichele Calgaro <[email protected]>2023-07-11 17:42:14 +0900
commit9492e618a7bcc0a58db039d6700b508dec2c9db3 (patch)
treed9e102d5ad79aaf0cb16c7c3644e38c9b7da6bc0 /src
parent979f5621d7cb2015eef214b0258dac1d6cd4c742 (diff)
downloadtqt3-9492e618a7bcc0a58db039d6700b508dec2c9db3.tar.gz
tqt3-9492e618a7bcc0a58db039d6700b508dec2c9db3.zip
Drop compatibility code for TQThread
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-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 edf45f89c..dc0df0828 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 f09b1939b..bb51e41fc 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()
{
//