summaryrefslogtreecommitdiffstats
path: root/sip/qt/qaccel.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qaccel.sip')
-rw-r--r--sip/qt/qaccel.sip64
1 files changed, 32 insertions, 32 deletions
diff --git a/sip/qt/qaccel.sip b/sip/qt/qaccel.sip
index 9c547ef..1dbf06c 100644
--- a/sip/qt/qaccel.sip
+++ b/sip/qt/qaccel.sip
@@ -1,44 +1,44 @@
-// This is the SIP interface definition for QAccel.
+// This is the SIP interface definition for TQAccel.
//
// 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>QAccel</Title>
+<Sect2><Title>TQAccel</Title>
<Para>
-<Literal>QAccel</Literal> is fully implemented.
+<Literal>TQAccel</Literal> is fully implemented.
</Para>
</Sect2>
%End
-class QAccel : QObject
+class TQAccel : TQObject
{
%TypeHeaderCode
#include <qaccel.h>
%End
public:
- QAccel(QWidget * /TransferThis/,char * = 0);
-%If (Qt_2_1_0 -)
- QAccel(QWidget *,QObject * /TransferThis/,char * = 0);
+ TQAccel(TQWidget * /TransferThis/,char * = 0);
+%If (TQt_2_1_0 -)
+ TQAccel(TQWidget *,TQObject * /TransferThis/,char * = 0);
%End
bool isEnabled();
@@ -46,22 +46,22 @@ public:
uint count();
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
int insertItem(int,int = -1);
%End
-%If (Qt_3_0_0 -)
- int insertItem(const QKeySequence &,int = -1);
+%If (TQt_3_0_0 -)
+ int insertItem(const TQKeySequence &,int = -1);
%End
void removeItem(int);
void clear();
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
int key(int);
int findKey(int) const;
%End
-%If (Qt_3_0_0 -)
- QKeySequence key(int);
- int findKey(const QKeySequence &) const;
+%If (TQt_3_0_0 -)
+ TQKeySequence key(int);
+ int findKey(const TQKeySequence &) const;
%End
bool isItemEnabled(int) const;
@@ -72,33 +72,33 @@ public:
void repairEventFilter();
-%If (Qt_2_00 -)
- void setWhatsThis(int,const QString &);
- QString whatsThis(int) const;
+%If (TQt_2_00 -)
+ void setWhatsThis(int,const TQString &);
+ TQString whatsThis(int) const;
void setIgnoreWhatsThis(bool);
bool ignoreWhatsThis() const;
%End
-%If (Qt_2_00 - Qt_3_0_0)
- static int shortcutKey(const QString &);
- static QString keyToString(int);
- static int stringToKey(const QString &);
+%If (TQt_2_00 - TQt_3_0_0)
+ static int shortcutKey(const TQString &);
+ static TQString keyToString(int);
+ static int stringToKey(const TQString &);
%End
-%If (Qt_3_0_0 -)
- static QKeySequence shortcutKey(const QString &);
- static QString keyToString(QKeySequence);
- static QKeySequence stringToKey(const QString &);
+%If (TQt_3_0_0 -)
+ static TQKeySequence shortcutKey(const TQString &);
+ static TQString keyToString(TQKeySequence);
+ static TQKeySequence stringToKey(const TQString &);
%End
signals:
void activated(int);
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
void activatedAmbiguously(int);
%End
protected:
- bool eventFilter(QObject *,QEvent *);
+ bool eventFilter(TQObject *,TQEvent *);
private:
- QAccel(const QAccel &);
+ TQAccel(const TQAccel &);
};