summaryrefslogtreecommitdiffstats
path: root/sip/qtsql/qsqldriver.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/qsqldriver.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/qsqldriver.sip')
-rw-r--r--sip/qtsql/qsqldriver.sip8
1 files changed, 0 insertions, 8 deletions
diff --git a/sip/qtsql/qsqldriver.sip b/sip/qtsql/qsqldriver.sip
index cfde417..74aede8 100644
--- a/sip/qtsql/qsqldriver.sip
+++ b/sip/qtsql/qsqldriver.sip
@@ -29,8 +29,6 @@
%End
-%If (TQt_3_0_0 -)
-
class TQSqlDriver : TQObject
{
%TypeHeaderCode
@@ -42,12 +40,10 @@ public:
Transactions,
QuerySize,
BLOB,
-%If (TQt_3_1_0 -)
Unicode,
PreparedQueries,
NamedPlaceholders,
PositionalPlaceholders
-%End
};
TQSqlDriver(TQObject * /TransferThis/ = 0,const char * = 0);
@@ -77,10 +73,8 @@ public:
virtual bool ping() = 0;
virtual TQSqlQuery createQuery() const = 0;
-%If (TQt_3_2_0 -)
bool open(const TQString &,const TQString &,const TQString &,
const TQString &,int,const TQString &) /ReleaseGIL/;
-%End
protected:
virtual void setOpen(bool);
@@ -90,5 +84,3 @@ protected:
private:
TQSqlDriver(const TQSqlDriver &);
};
-
-%End