From 9492e618a7bcc0a58db039d6700b508dec2c9db3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 17:42:14 +0900 Subject: Drop compatibility code for TQThread Signed-off-by: Michele Calgaro --- src/kernel/ntqthread.h | 9 --------- src/kernel/qthread.cpp | 10 ---------- 2 files changed, 19 deletions(-) (limited to 'src/kernel') 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 @@ -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() { // -- cgit v1.2.3