From 8a055d66f43592c257cece2eb8cc021808062917 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Nov 2011 01:11:08 -0600 Subject: Initial TQt conversion --- sip/qt/qmutex.sip | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'sip/qt/qmutex.sip') diff --git a/sip/qt/qmutex.sip b/sip/qt/qmutex.sip index 1f9ff86..3bf03bc 100644 --- a/sip/qt/qmutex.sip +++ b/sip/qt/qmutex.sip @@ -1,52 +1,52 @@ -// This is the SIP interface definition for QMutex and QMutexLocker. +// This is the SIP interface definition for TQMutex and TQMutexLocker. // // Copyright (c) 2007 // Riverbank Computing Limited // -// 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 -QMutex (Qt v2.2+) +TQMutex (TQt v2.2+) -QMutex is fully implemented. +TQMutex is fully implemented. -QMutexLocker (Qt v3.1+) +TQMutexLocker (TQt v3.1+) -QMutexLocker is fully implemented. +TQMutexLocker is fully implemented. %End -%If (Qt_THREAD_SUPPORT) +%If (TQt_THREAD_SUPPORT) -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QMutex +class TQMutex { %TypeHeaderCode #include %End public: - QMutex(bool = 0); + TQMutex(bool = 0); void lock() /ReleaseGIL/; void unlock(); @@ -54,49 +54,49 @@ public: bool tryLock(); private: - QMutex(const QMutex &); + TQMutex(const TQMutex &); }; %End -%If (Qt_2_2_0 - Qt_3_0_0) +%If (TQt_2_2_0 - TQt_3_0_0) -class QMutex : Qt +class TQMutex : TQt { %TypeHeaderCode #include %End public: - QMutex(bool = 0); + TQMutex(bool = 0); void lock() /ReleaseGIL/; void unlock(); bool locked(); private: - QMutex(const QMutex &); + TQMutex(const TQMutex &); }; %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) -class QMutexLocker +class TQMutexLocker { %TypeHeaderCode #include %End public: - QMutexLocker(QMutex *) /ReleaseGIL/; + TQMutexLocker(TQMutex *) /ReleaseGIL/; - QMutex *mutex() const; + TQMutex *mutex() const; private: - QMutexLocker(const QMutexLocker &); + TQMutexLocker(const TQMutexLocker &); }; %End -- cgit v1.2.3