summaryrefslogtreecommitdiffstats
path: root/sip/qt/qeventloop.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qeventloop.sip')
-rw-r--r--sip/qt/qeventloop.sip34
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/qt/qeventloop.sip b/sip/qt/qeventloop.sip
index 22d7a2c..8ad3b06 100644
--- a/sip/qt/qeventloop.sip
+++ b/sip/qt/qeventloop.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QEventLoop.
+// This is the SIP interface definition for TQEventLoop.
//
// 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>QEventLoop (Qt v3.1+)</Title>
+<Sect2><Title>TQEventLoop (TQt v3.1+)</Title>
<FuncSynopsis>
<FuncDef>virtual int <Function>exec</Function></FuncDef>
<ParamDef></ParamDef>
@@ -33,16 +33,16 @@ This has been renamed to <Literal>exec_loop</Literal> in Python.
%End
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
-class QEventLoop : QObject
+class TQEventLoop : TQObject
{
%TypeHeaderCode
#include <qeventloop.h>
%End
public:
- QEventLoop(QObject * /TransferThis/ = 0,const char * = 0);
+ TQEventLoop(TQObject * /TransferThis/ = 0,const char * = 0);
enum ProcessEvents {
AllEvents,
@@ -58,12 +58,12 @@ public:
virtual bool hasPendingEvents() const;
- virtual void registerSocketNotifier(QSocketNotifier *);
- virtual void unregisterSocketNotifier(QSocketNotifier *);
-%If (Qt_3_1_1 -)
- // These were present in the X11 version of Qt v3.1.0 but didn't make
- // it to the Windows version until Qt v3.1.1.
- void setSocketNotifierPending(QSocketNotifier *);
+ virtual void registerSocketNotifier(TQSocketNotifier *);
+ virtual void unregisterSocketNotifier(TQSocketNotifier *);
+%If (TQt_3_1_1 -)
+ // These were present in the X11 version of TQt v3.1.0 but didn't make
+ // it to the Windows version until TQt v3.1.1.
+ void setSocketNotifierPending(TQSocketNotifier *);
int activateSocketNotifiers();
int activateTimers();
@@ -71,8 +71,8 @@ public:
%End
virtual int exec() /PyName=exec_loop, ReleaseGIL,
- PreHook=__pyQtPreEventLoopHook__,
- PostHook=__pyQtPostEventLoopHook__/;
+ PreHook=__pyTQtPreEventLoopHook__,
+ PostHook=__pyTQtPostEventLoopHook__/;
virtual void exit(int = 0);
virtual int enterLoop();