diff options
Diffstat (limited to 'sip/qtsql/qsqlquery.sip')
-rw-r--r-- | sip/qtsql/qsqlquery.sip | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sip/qtsql/qsqlquery.sip b/sip/qtsql/qsqlquery.sip index a41eb57..8212391 100644 --- a/sip/qtsql/qsqlquery.sip +++ b/sip/qtsql/qsqlquery.sip @@ -49,8 +49,6 @@ This has been renamed <Literal>execQuery</Literal> in Python. (TQt v3.1+) %End -%If (TQt_3_0_0 -) - class TQSqlQuery { %TypeHeaderCode @@ -60,9 +58,7 @@ class TQSqlQuery public: TQSqlQuery(TQSqlResult *); TQSqlQuery(const TQString & = TQString::null,TQSqlDatabase * = 0); -%If (TQt_3_2_0 -) TQSqlQuery(TQSqlDatabase *); -%End TQSqlQuery(const TQSqlQuery &); bool isValid() const; @@ -76,10 +72,8 @@ public: int size() const; const TQSqlDriver *driver() const; const TQSqlResult *result() const; -%If (TQt_3_1_0 -) bool isForwardOnly() const; void setForwardOnly(bool); -%End virtual bool exec(const TQString &) /PyName=execQuery, ReleaseGIL/; virtual TQVariant value(int) const; @@ -90,14 +84,11 @@ public: virtual bool first() /ReleaseGIL/; virtual bool last() /ReleaseGIL/; -%If (TQt_3_1_0 -) bool exec() /PyName=execQuery, ReleaseGIL/; bool prepare(const TQString &); void bindValue(const TQString &,const TQVariant &); void bindValue(int,const TQVariant &); void addBindValue(const TQVariant &); -%End -%If (TQt_3_2_0 -) void bindValue(const TQString &,const TQVariant &,TQSql::ParameterType); void bindValue(int,const TQVariant &,TQSql::ParameterType); void addBindValue(const TQVariant &,TQSql::ParameterType); @@ -105,11 +96,8 @@ public: TQVariant boundValue(int) const; // TQMap<TQString,TQVariant> boundValues() const; TQString executedQuery() const; -%End protected: virtual void beforeSeek(); virtual void afterSeek(); }; - -%End |