summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtableview.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qtableview.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qtableview.sip')
-rw-r--r--sip/qt/qtableview.sip58
1 files changed, 29 insertions, 29 deletions
diff --git a/sip/qt/qtableview.sip b/sip/qt/qtableview.sip
index a2159be..3541ff9 100644
--- a/sip/qt/qtableview.sip
+++ b/sip/qt/qtableview.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QTableView.
+// This is the SIP interface definition for TQTableView.
//
// 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>QTableView (Qt 1.x, Qt 2.x)</Title>
+<Sect2><Title>TQTableView (TQt 1.x, TQt 2.x)</Title>
<FuncSynopsis>
<FuncDef>bool <Function>colXPos</Function></FuncDef>
<ParamDef>int <Parameter>col</Parameter></ParamDef>
@@ -45,8 +45,8 @@ the <Literal>bool</Literal> result and <Literal>yPos</Literal>.
%End
-%If (Qt_TABLEVIEW)
-%If (- Qt_3_0_0)
+%If (TQt_TABLEVIEW)
+%If (- TQt_3_0_0)
%ModuleHeaderCode
#include <qtableview.h>
@@ -76,29 +76,29 @@ const uint Tbl_snapToVGrid;
const uint Tbl_snapToGrid;
-class QTableView : QFrame
+class TQTableView : TQFrame
{
%TypeHeaderCode
#include <qtableview.h>
%End
public:
-%If (- Qt_2_00)
- void setBackgroundColor(const QColor &);
- void setPalette(const QPalette &);
+%If (- TQt_2_00)
+ void setBackgroundColor(const TQColor &);
+ void setPalette(const TQPalette &);
%End
-%If (Qt_2_00 -)
- virtual void setBackgroundColor(const QColor &);
- virtual void setPalette(const QPalette &);
+%If (TQt_2_00 -)
+ virtual void setBackgroundColor(const TQColor &);
+ virtual void setPalette(const TQPalette &);
%End
void show();
void repaint(bool = 1);
void repaint(int,int,int,int,bool = 1);
- void repaint(const QRect &,bool = 1);
+ void repaint(const TQRect &,bool = 1);
protected:
- QTableView(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
- ~QTableView();
+ TQTableView(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
+ ~TQTableView();
int numRows() const;
int numCols() const;
@@ -117,18 +117,18 @@ protected:
void clearTableFlags(uint = ~0);
bool autoUpdate() const;
void updateCell(int,int,bool = 1);
- QRect cellUpdateRect() const;
- QRect viewRect() const;
+ TQRect cellUpdateRect() const;
+ TQRect viewRect() const;
int lastRowVisible() const;
int lastColVisible() const;
bool rowIsVisible(int) const;
bool colIsVisible(int) const;
- const QScrollBar *verticalScrollBar() const;
- const QScrollBar *horizontalScrollBar() const;
- virtual void paintCell(QPainter *,int,int) = 0;
- virtual void setupPainter(QPainter *);
- void paintEvent(QPaintEvent *);
- void resizeEvent(QResizeEvent *);
+ const TQScrollBar *verticalScrollBar() const;
+ const TQScrollBar *horizontalScrollBar() const;
+ virtual void paintCell(TQPainter *,int,int) = 0;
+ virtual void setupPainter(TQPainter *);
+ void paintEvent(TQPaintEvent *);
+ void resizeEvent(TQResizeEvent *);
int findRow(int) const;
int findCol(int) const;
bool rowYPos(int,int *) const;
@@ -147,7 +147,7 @@ protected:
void updateScrollBars();
void updateTableSize();
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setNumRows(int);
void setNumCols(int);
void setTopCell(int);
@@ -162,7 +162,7 @@ protected:
void setAutoUpdate(bool);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setNumRows(int);
virtual void setNumCols(int);
virtual void setTopCell(int);
@@ -178,7 +178,7 @@ protected:
%End
private:
- QTableView(const QTableView &);
+ TQTableView(const TQTableView &);
};
%End