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/qgridview.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qgridview.sip')
-rw-r--r-- | sip/qt/qgridview.sip | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/qt/qgridview.sip b/sip/qt/qgridview.sip index d1ca16b..1afeeaa 100644 --- a/sip/qt/qgridview.sip +++ b/sip/qt/qgridview.sip @@ -1,44 +1,44 @@ -// This is the SIP interface definition for QGridView. +// This is the SIP interface definition for TQGridView. // // 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>QGridView (Qt v3+)</Title> +<Sect2><Title>TQGridView (TQt v3+)</Title> <Para> -<Literal>QGridView</Literal> is fully implemented. +<Literal>TQGridView</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QGridView : QScrollView +class TQGridView : TQScrollView { %TypeHeaderCode #include <qgridview.h> %End public: - QGridView(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); + TQGridView(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0); int numRows() const; virtual void setNumRows(int); @@ -50,9 +50,9 @@ public: int cellHeight() const; virtual void setCellHeight(int); - QRect cellRect() const; - QRect cellGeometry(int,int); - QSize gridSize() const; + TQRect cellRect() const; + TQRect cellGeometry(int,int); + TQSize gridSize() const; int rowAt(int) const; int columnAt(int) const; @@ -62,15 +62,15 @@ public: void ensureCellVisible(int,int); protected: - virtual void paintCell(QPainter *,int,int) = 0; - virtual void paintEmptyArea(QPainter *,int,int,int,int); + virtual void paintCell(TQPainter *,int,int) = 0; + virtual void paintEmptyArea(TQPainter *,int,int,int,int); - void drawContents(QPainter *,int,int,int,int); + void drawContents(TQPainter *,int,int,int,int); virtual void dimensionChange(int,int); private: - QGridView(const QGridView &); + TQGridView(const TQGridView &); }; %End |