summaryrefslogtreecommitdiffstats
path: root/sip/qt/qthread.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qthread.sip')
-rw-r--r--sip/qt/qthread.sip42
1 files changed, 21 insertions, 21 deletions
diff --git a/sip/qt/qthread.sip b/sip/qt/qthread.sip
index 29966c6..6f47b61 100644
--- a/sip/qt/qthread.sip
+++ b/sip/qt/qthread.sip
@@ -1,66 +1,66 @@
-// This is the SIP interface definition for QThread.
+// This is the SIP interface definition for TQThread.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QThread (Qt v2.2+)</Title>
+<Sect2><Title>TQThread (TQt v2.2+)</Title>
<Para>
-<Literal>QThread</Literal> is fully implemented.
+<Literal>TQThread</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (Qt_THREAD_SUPPORT)
-%If (Qt_2_2_0 -)
+%If (TQt_THREAD_SUPPORT)
+%If (TQt_2_2_0 -)
-class QThread : Qt /CreatesThread/
+class TQThread : TQt /CreatesThread/
{
%TypeHeaderCode
#include <qthread.h>
%End
public:
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
static HANDLE currentThread();
%End
-%If (Qt_3_0_0 -)
- static Qt::HANDLE currentThread();
+%If (TQt_3_0_0 -)
+ static TQt::HANDLE currentThread();
%End
- static void postEvent(QObject *,QEvent * /Transfer/) /ReleaseGIL/;
-%If (Qt_3_0_0 -)
+ static void postEvent(TQObject *,TQEvent * /Transfer/) /ReleaseGIL/;
+%If (TQt_3_0_0 -)
static void initialize();
static void cleanup();
%End
static void exit() /ReleaseGIL/;
-%If (Qt_3_1_0 -)
- QThread(unsigned int);
+%If (TQt_3_1_0 -)
+ TQThread(unsigned int);
%End
- QThread();
+ TQThread();
bool wait(unsigned long = ULONG_MAX) /ReleaseGIL/;
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum Priority {
IdlePriority,
LowestPriority,
@@ -76,7 +76,7 @@ public:
%End
void start() /ReleaseGIL/;
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
void terminate();
%End
@@ -91,7 +91,7 @@ protected:
static void usleep(unsigned long) /ReleaseGIL/;
private:
- QThread(const QThread &);
+ TQThread(const TQThread &);
};
%End