summaryrefslogtreecommitdiffstats
path: root/sip/qt/qthread.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committeraneejit1 <aneejit1@gmail.com>2022-07-30 17:54:15 +0000
commit33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch)
tree7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qthread.sip
parente602246539fd7435aaeb440fcb7f852c92c8426b (diff)
downloadpytqt-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/qthread.sip')
-rw-r--r--sip/qt/qthread.sip15
1 files changed, 0 insertions, 15 deletions
diff --git a/sip/qt/qthread.sip b/sip/qt/qthread.sip
index e457535..b95301a 100644
--- a/sip/qt/qthread.sip
+++ b/sip/qt/qthread.sip
@@ -30,7 +30,6 @@
%If (TQt_THREAD_SUPPORT)
-%If (TQt_2_2_0 -)
class TQThread : TQt /CreatesThread/
{
@@ -39,28 +38,18 @@ class TQThread : TQt /CreatesThread/
%End
public:
-%If (- TQt_3_0_0)
- static HANDLE currentThread();
-%End
-%If (TQt_3_0_0 -)
static TQt::HANDLE currentThread();
-%End
static void postEvent(TQObject *,TQEvent * /Transfer/) /ReleaseGIL/;
-%If (TQt_3_0_0 -)
static void initialize();
static void cleanup();
-%End
static void exit() /ReleaseGIL/;
-%If (TQt_3_1_0 -)
TQThread(unsigned int);
-%End
TQThread();
bool wait(unsigned long = ULONG_MAX) /ReleaseGIL/;
-%If (TQt_3_2_0 -)
enum Priority {
IdlePriority,
LowestPriority,
@@ -73,12 +62,9 @@ public:
};
void start(Priority) /ReleaseGIL/;
-%End
void start() /ReleaseGIL/;
-%If (TQt_3_1_0 -)
void terminate();
-%End
bool finished() const;
bool running() const;
@@ -95,4 +81,3 @@ private:
};
%End
-%End