diff options
Diffstat (limited to 'sip/qt/qtoolbutton.sip')
-rw-r--r-- | sip/qt/qtoolbutton.sip | 170 |
1 files changed, 85 insertions, 85 deletions
diff --git a/sip/qt/qtoolbutton.sip b/sip/qt/qtoolbutton.sip index 7de2e90..d640a8c 100644 --- a/sip/qt/qtoolbutton.sip +++ b/sip/qt/qtoolbutton.sip @@ -1,44 +1,44 @@ -// This is the SIP interface definition for QToolButton. +// This is the SIP interface definition for TQToolButton. // // 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>QToolButton</Title> +<Sect2><Title>TQToolButton</Title> <Para> -<Literal>QToolButton</Literal> is fully implemented. +<Literal>TQToolButton</Literal> is fully implemented. </Para> </Sect2> %End -class QToolButton : QButton +class TQToolButton : TQButton { %TypeHeaderCode #include <qtoolbutton.h> %End public: -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) enum TextPosition { -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) BesideIcon, BelowIcon, %End @@ -47,153 +47,153 @@ public: }; %End -%If (- Qt_2_00) - QToolButton(QWidget * /TransferThis/ = 0,const char * = 0); - QToolButton(const QPixmap &,const char *,const char *,SIP_RXOBJ_CON, - SIP_SLOT_CON(),QToolBar * /TransferThis/,const char * = 0); - QToolButton(QIconSet,const char *,const char *,SIP_RXOBJ_CON, - SIP_SLOT_CON(),QToolBar * /TransferThis/,const char * = 0); +%If (- TQt_2_00) + TQToolButton(TQWidget * /TransferThis/ = 0,const char * = 0); + TQToolButton(const TQPixmap &,const char *,const char *,SIP_RXOBJ_CON, + SIP_SLOT_CON(),TQToolBar * /TransferThis/,const char * = 0); + TQToolButton(TQIconSet,const char *,const char *,SIP_RXOBJ_CON, + SIP_SLOT_CON(),TQToolBar * /TransferThis/,const char * = 0); %End -%If (Qt_2_00 -) - QToolButton(QWidget * /TransferThis/,const char * = 0); +%If (TQt_2_00 -) + TQToolButton(TQWidget * /TransferThis/,const char * = 0); %End -%If (Qt_2_00 - Qt_3_0_0) - QToolButton(const QPixmap &,const QString &,const QString &, - SIP_RXOBJ_CON,SIP_SLOT_CON(),QToolBar * /TransferThis/, +%If (TQt_2_00 - TQt_3_0_0) + TQToolButton(const TQPixmap &,const TQString &,const TQString &, + SIP_RXOBJ_CON,SIP_SLOT_CON(),TQToolBar * /TransferThis/, const char * = 0); %End -%If (Qt_2_00 -) - QToolButton(const QIconSet &,const QString &,const QString &, - SIP_RXOBJ_CON,SIP_SLOT_CON(),QToolBar * /TransferThis/, +%If (TQt_2_00 -) + TQToolButton(const TQIconSet &,const TQString &,const TQString &, + SIP_RXOBJ_CON,SIP_SLOT_CON(),TQToolBar * /TransferThis/, const char * = 0); %End -%If (Qt_2_1_0 -) - QToolButton(ArrowType,QWidget * /TransferThis/,const char * = 0); +%If (TQt_2_1_0 -) + TQToolButton(ArrowType,TQWidget * /TransferThis/,const char * = 0); %End - QSize sizeHint() const; -%If (Qt_3_0_0 -) - QSize minimumSizeHint() const; + TQSize sizeHint() const; +%If (TQt_3_0_0 -) + TQSize minimumSizeHint() const; %End -%If (Qt_2_00 - Qt_3_0_0) - QSizePolicy sizePolicy() const; +%If (TQt_2_00 - TQt_3_0_0) + TQSizePolicy sizePolicy() const; %End -%If (Qt_2_1_0 - Qt_3_0_0) - void setOnIconSet(const QIconSet &); - void setOffIconSet(const QIconSet &); +%If (TQt_2_1_0 - TQt_3_0_0) + void setOnIconSet(const TQIconSet &); + void setOffIconSet(const TQIconSet &); %End -%If (- Qt_2_00) - void setIconSet(const QIconSet &); +%If (- TQt_2_00) + void setIconSet(const TQIconSet &); %End -%If (Qt_2_00 - Qt_3_0_0) - virtual void setIconSet(const QIconSet &,bool = 0); +%If (TQt_2_00 - TQt_3_0_0) + virtual void setIconSet(const TQIconSet &,bool = 0); %End -%If (Qt_2_1_0 - Qt_3_0_0) - QIconSet onIconSet() const; - QIconSet offIconSet() const; +%If (TQt_2_1_0 - TQt_3_0_0) + TQIconSet onIconSet() const; + TQIconSet offIconSet() const; %End -%If (- Qt_2_00) - QIconSet iconSet() const; +%If (- TQt_2_00) + TQIconSet iconSet() const; %End -%If (Qt_2_00 - Qt_3_0_0) - QIconSet iconSet(bool = 0) const; +%If (TQt_2_00 - TQt_3_0_0) + TQIconSet iconSet(bool = 0) const; %End -%If (Qt_3_0_0 -) - virtual void setIconSet(const QIconSet &); - QIconSet iconSet() const; +%If (TQt_3_0_0 -) + virtual void setIconSet(const TQIconSet &); + TQIconSet iconSet() const; %End bool usesBigPixmap() const; bool usesTextLabel() const; -%If (- Qt_2_00) +%If (- TQt_2_00) const char *textLabel() const; %End -%If (Qt_2_00 -) - QString textLabel() const; +%If (TQt_2_00 -) + TQString textLabel() const; %End -%If (Qt_2_1_0 -) - void setPopup(QPopupMenu *); - QPopupMenu* popup() const; +%If (TQt_2_1_0 -) + void setPopup(TQPopupMenu *); + TQPopupMenu* popup() const; void setPopupDelay(int); int popupDelay() const; %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) void openPopup(); %End -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) void setAutoRaise(bool); bool autoRaise() const; %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) TextPosition textPosition() const; %End -%If (Qt_3_2_0 -) - void setText(const QString &); +%If (TQt_3_2_0 -) + void setText(const TQString &); %End public slots: virtual void setUsesBigPixmap(bool); virtual void setUsesTextLabel(bool); -%If (- Qt_2_00) +%If (- TQt_2_00) virtual void setTextLabel(const char *,bool = 1); %End -%If (Qt_2_00 - Qt_3_0_0) - virtual void setTextLabel(const QString &,bool = 1); +%If (TQt_2_00 - TQt_3_0_0) + virtual void setTextLabel(const TQString &,bool = 1); %End -%If (Qt_3_0_0 -) - virtual void setTextLabel(const QString &,bool); +%If (TQt_3_0_0 -) + virtual void setTextLabel(const TQString &,bool); %End -%If (- Qt_2_00) +%If (- TQt_2_00) void setToggleButton(bool); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setToggleButton(bool); %End -%If (- Qt_2_00) +%If (- TQt_2_00) void setOn(bool); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setOn(bool); %End void toggle(); -%If (Qt_3_0_0 -) - // This was actually introduced in Qt v2.1.0 but gives signature - // conflict until Qt v3.0.0. - void setTextLabel(const QString &); +%If (TQt_3_0_0 -) + // This was actually introduced in TQt v2.1.0 but gives signature + // conflict until TQt v3.0.0. + void setTextLabel(const TQString &); %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) void setTextPosition(TextPosition); %End protected: -%If (Qt_3_0_0 -) - void mousePressEvent(QMouseEvent *); +%If (TQt_3_0_0 -) + void mousePressEvent(TQMouseEvent *); %End - void drawButton(QPainter *); - void drawButtonLabel(QPainter *); + void drawButton(TQPainter *); + void drawButtonLabel(TQPainter *); - void enterEvent(QEvent *); - void leaveEvent(QEvent *); -%If (Qt_2_1_0 -) - void moveEvent(QMoveEvent *); + void enterEvent(TQEvent *); + void leaveEvent(TQEvent *); +%If (TQt_2_1_0 -) + void moveEvent(TQMoveEvent *); %End bool uses3D() const; -%If (Qt_3_0_0 -) - bool eventFilter(QObject *,QEvent *); +%If (TQt_3_0_0 -) + bool eventFilter(TQObject *,TQEvent *); %End private: -%If (Qt_2_1_0 -) - QToolButton(const QToolButton &); +%If (TQt_2_1_0 -) + TQToolButton(const TQToolButton &); %End }; |