summaryrefslogtreecommitdiffstats
path: root/sip/qtsql/qdatatable.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qtsql/qdatatable.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-30381ed7e532384067ad63b4631950d821313199.tar.gz
pytqt-30381ed7e532384067ad63b4631950d821313199.zip
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has been removed. Since the versions of TQt and python-tqt are running in parallel, the support for older versions was clutter that would never actually be used now. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qtsql/qdatatable.sip')
-rw-r--r--sip/qtsql/qdatatable.sip16
1 files changed, 0 insertions, 16 deletions
diff --git a/sip/qtsql/qdatatable.sip b/sip/qtsql/qdatatable.sip
index 267c980..5840f3e 100644
--- a/sip/qtsql/qdatatable.sip
+++ b/sip/qtsql/qdatatable.sip
@@ -29,8 +29,6 @@
%End
-%If (TQt_3_0_0 -)
-
class TQDataTable : TQTable
{
%TypeHeaderCode
@@ -113,10 +111,8 @@ public:
void setNumRows(int);
bool findBuffer(const TQSqlIndex &,int = 0);
-%If (TQt_3_2_0 -)
void hideColumn(int);
void showColumn(int);
-%End
signals:
void currentChanged(TQSqlRecord *);
@@ -134,13 +130,9 @@ public slots:
virtual void sortDescending(int);
virtual void refresh();
void setColumnWidth(int,int);
-%If (TQt_3_0_5 -)
void adjustColumn(int);
void setColumnStretchable(int,bool);
-%End
-%If (TQt_3_1_0 -)
void swapColumns(int,int,bool = 0);
-%End
protected:
virtual bool insertCurrent();
@@ -156,9 +148,7 @@ protected:
virtual TQWidget *beginUpdate(int,int,bool);
bool eventFilter(TQObject *,TQEvent *);
-%If (TQt_3_2_0 -)
void keyPressEvent(TQKeyEvent *);
-%End
void resizeEvent(TQResizeEvent *);
void contentsMousePressEvent(TQMouseEvent *);
void contentsContextMenuEvent(TQContextMenuEvent *);
@@ -177,9 +167,7 @@ protected:
const TQColorGroup &);
virtual void paintField(TQPainter *,const TQSqlField *,const TQRect &,
bool);
-%If (TQt_3_1_0 -)
void drawContents(TQPainter *,int,int,int,int);
-%End
virtual int fieldAlignment(const TQSqlField *);
void columnClicked(int);
void resizeData(int);
@@ -193,9 +181,5 @@ protected:
private:
TQWidget *beginEdit(int,int,bool);
-%If (TQt_3_1_0 -)
TQDataTable(const TQDataTable &);
-%End
};
-
-%End