summaryrefslogtreecommitdiffstats
path: root/sip/qtsql/qsqldatabase.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtsql/qsqldatabase.sip')
-rw-r--r--sip/qtsql/qsqldatabase.sip20
1 files changed, 0 insertions, 20 deletions
diff --git a/sip/qtsql/qsqldatabase.sip b/sip/qtsql/qsqldatabase.sip
index c3a11be..cab38d2 100644
--- a/sip/qtsql/qsqldatabase.sip
+++ b/sip/qtsql/qsqldatabase.sip
@@ -33,8 +33,6 @@ This has been renamed <Literal>execStatement</Literal> in Python.
%End
-%If (TQt_3_0_0 -)
-
class TQSqlDatabase : TQObject
{
%TypeHeaderCode
@@ -84,9 +82,7 @@ public:
bool isOpen() const;
bool isOpenError() const;
TQStringList tables() const;
-%If (TQt_3_2_0 -)
TQStringList tables(TQSql::TableType) const;
-%End
TQSqlIndex primaryIndex(const TQString &) const;
TQSqlRecord record(const TQString &) const;
TQSqlRecord record(const TQSqlQuery &) const;
@@ -104,52 +100,36 @@ public:
virtual void setPassword(const TQString &);
virtual void setHostName(const TQString &);
virtual void setPort(int);
-%If (TQt_3_2_0 -)
void setConnectOptions(const TQString & = TQString::null);
-%End
TQString databaseName() const;
TQString userName() const;
TQString password() const;
TQString hostName() const;
TQString driverName() const;
int port() const;
-%If (TQt_3_2_0 -)
TQString connectOptions() const;
-%End
TQSqlDriver *driver() const;
static TQSqlDatabase *addDatabase(const TQString &,
const TQString & = TQString(TQSqlDatabase::defaultConnection));
-%If (TQt_3_2_0 -)
static TQSqlDatabase *addDatabase(TQSqlDriver *,
const TQString & = TQString(TQSqlDatabase::defaultConnection));
-%End
static TQSqlDatabase *database(const TQString & = TQString(TQSqlDatabase::defaultConnection),bool = 1);
static void removeDatabase(const TQString &);
-%If (TQt_3_2_0 -)
static void removeDatabase(TQSqlDatabase *);
-%End
static bool contains(const TQString & = TQString(TQSqlDatabase::defaultConnection));
static TQStringList drivers();
// static void registerSqlDriver(const TQString &,
// const TQSqlDriverCreatorBase *);
-%If (TQt_3_2_0 -)
static bool isDriverAvailable(const TQString &);
-%End
protected:
TQSqlDatabase(const TQString &,const TQString &,
TQObject * /TransferThis/ = 0,const char * = 0);
-%If (TQt_3_2_0 -)
TQSqlDatabase(TQSqlDriver *,TQObject * /TransferThis/ = 0,
const char * = 0);
-%End
private:
-%If (TQt_3_1_0 -)
TQSqlDatabase(const TQSqlDatabase &);
-%End
};
-
-%End