diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2022-07-30 17:54:15 +0000 |
commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qsemaphore.sip | |
parent | e602246539fd7435aaeb440fcb7f852c92c8426b (diff) | |
download | pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.tar.gz pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.zip |
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has
been removed. Since the versions of TQt and python-tqt are running in
parallel, the support for older versions was clutter that would never
actually be used now.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qsemaphore.sip')
-rw-r--r-- | sip/qt/qsemaphore.sip | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sip/qt/qsemaphore.sip b/sip/qt/qsemaphore.sip index 82052a0..d164046 100644 --- a/sip/qt/qsemaphore.sip +++ b/sip/qt/qsemaphore.sip @@ -33,8 +33,6 @@ Python v2.0 or later. %If (TQt_THREAD_SUPPORT) -%If (TQt_3_0_0 -) - class TQSemaphore { %TypeHeaderCode @@ -84,29 +82,3 @@ private: }; %End - - -%If (TQt_2_2_0 - TQt_3_0_0) - -class TQSemaphore : TQt -{ -%TypeHeaderCode -#include <tqthread.h> -%End - -public: - TQSemaphore(int); - - int available() const; - int total() const; - - TQSemaphore &operator+=(int); - TQSemaphore &operator-=(int); - -private: - TQSemaphore(const TQSemaphore &); -}; - -%End - -%End |