diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qtoolbox.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qtoolbox.sip')
-rw-r--r-- | sip/qt/qtoolbox.sip | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/sip/qt/qtoolbox.sip b/sip/qt/qtoolbox.sip index 804d7dd..9e8e220 100644 --- a/sip/qt/qtoolbox.sip +++ b/sip/qt/qtoolbox.sip @@ -1,74 +1,74 @@ -// This is the SIP interface definition for QToolBox. +// This is the SIP interface definition for TQToolBox. // // 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>QToolBox (Qt v3.2.0+)</Title> +<Sect2><Title>TQToolBox (TQt v3.2.0+)</Title> <Para> -<Literal>QToolBox</Literal> is fully implemented. +<Literal>TQToolBox</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) -class QToolBox : QFrame +class TQToolBox : TQFrame { %TypeHeaderCode #include <qtoolbox.h> %End public: - QToolBox(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); - ~QToolBox(); + TQToolBox(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); + ~TQToolBox(); - int addItem(QWidget * /Transfer/,const QString &); - int addItem(QWidget * /Transfer/,const QIconSet &,const QString &); - int insertItem(int,QWidget * /Transfer/,const QString &); - int insertItem(int,QWidget * /Transfer/,const QIconSet &, - const QString &); + int addItem(TQWidget * /Transfer/,const TQString &); + int addItem(TQWidget * /Transfer/,const TQIconSet &,const TQString &); + int insertItem(int,TQWidget * /Transfer/,const TQString &); + int insertItem(int,TQWidget * /Transfer/,const TQIconSet &, + const TQString &); - // On return the QWidget will have the QToolBox as it's parent, so we + // On return the TQWidget will have the TQToolBox as it's parent, so we // don't transfer ownership back. - int removeItem(QWidget *); + int removeItem(TQWidget *); void setItemEnabled(int,bool); bool isItemEnabled(int) const; - void setItemLabel(int,const QString &); - QString itemLabel(int) const; + void setItemLabel(int,const TQString &); + TQString itemLabel(int) const; - void setItemIconSet(int,const QIconSet &); - QIconSet itemIconSet(int) const; + void setItemIconSet(int,const TQIconSet &); + TQIconSet itemIconSet(int) const; - void setItemToolTip(int,const QString &); - QString itemToolTip(int) const; + void setItemToolTip(int,const TQString &); + TQString itemToolTip(int) const; - QWidget *currentItem() const; - void setCurrentItem(QWidget *); + TQWidget *currentItem() const; + void setCurrentItem(TQWidget *); int currentIndex() const; - QWidget *item(int) const; - int indexOf(QWidget *) const; + TQWidget *item(int) const; + int indexOf(TQWidget *) const; int count() const; public slots: @@ -80,9 +80,9 @@ signals: protected: virtual void itemInserted(int); virtual void itemRemoved(int); - void showEvent(QShowEvent *); + void showEvent(TQShowEvent *); void frameChanged(); - void styleChange(QStyle &); + void styleChange(TQStyle &); }; %End |