diff options
author | Timothy Pearson <[email protected]> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qprogressbar.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qprogressbar.sip')
-rw-r--r-- | sip/qt/qprogressbar.sip | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/sip/qt/qprogressbar.sip b/sip/qt/qprogressbar.sip index bcf3ad2..d4d4b93 100644 --- a/sip/qt/qprogressbar.sip +++ b/sip/qt/qprogressbar.sip @@ -1,56 +1,56 @@ -// This is the SIP interface definition for QProgressBar. +// This is the SIP interface definition for TQProgressBar. // // Copyright (c) 2007 // Riverbank Computing Limited <[email protected]> // -// 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>QProgressBar</Title> +<Sect2><Title>TQProgressBar</Title> <Para> -<Literal>QProgressBar</Literal> is fully implemented. +<Literal>TQProgressBar</Literal> is fully implemented. </Para> </Sect2> %End -class QProgressBar : QFrame +class TQProgressBar : TQFrame { %TypeHeaderCode #include <qprogressbar.h> %End public: - QProgressBar(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); - QProgressBar(int,QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); + TQProgressBar(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); + TQProgressBar(int,TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); int totalSteps() const; int progress() const; -%If (Qt_3_0_0 -) - const QString &progressString() const; +%If (TQt_3_0_0 -) + const TQString &progressString() const; %End - QSize sizeHint() const; -%If (Qt_2_00 - Qt_3_0_0) - QSizePolicy sizePolicy() const; + TQSize sizeHint() const; +%If (TQt_2_00 - TQt_3_0_0) + TQSizePolicy sizePolicy() const; %End -%If (Qt_2_00 -) - QSize minimumSizeHint() const; +%If (TQt_2_00 -) + TQSize minimumSizeHint() const; void setCenterIndicator(bool); bool centerIndicator() const; @@ -59,7 +59,7 @@ public: bool indicatorFollowsStyle() const; %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) bool percentageVisible() const; void setPercentageVisible(bool); %End @@ -68,28 +68,28 @@ public: public slots: void reset(); -%If (- Qt_2_00) +%If (- TQt_2_00) void setTotalSteps(int); void setProgress(int); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setTotalSteps(int); virtual void setProgress(int); %End -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) void setProgress(int,int); %End protected: - void drawContents(QPainter *); - virtual bool setIndicator(QString &,int,int); -%If (Qt_2_00 - Qt_3_0_0) - void drawContentsMask(QPainter *); + void drawContents(TQPainter *); + virtual bool setIndicator(TQString &,int,int); +%If (TQt_2_00 - TQt_3_0_0) + void drawContentsMask(TQPainter *); %End -%If (Qt_2_00 -) - void styleChange(QStyle &); +%If (TQt_2_00 -) + void styleChange(TQStyle &); %End private: - QProgressBar(const QProgressBar &); + TQProgressBar(const TQProgressBar &); }; |