Add missing methods to SQL database and driver classes

This resolves Bug 2121
pull/1/head
Timothy Pearson 10 years ago
parent 4049988a92
commit 5db5a616d8

@ -80,6 +80,7 @@ public:
bool open() /ReleaseGIL/; bool open() /ReleaseGIL/;
bool open(const TQString &,const TQString &) /ReleaseGIL/; bool open(const TQString &,const TQString &) /ReleaseGIL/;
void close(); void close();
bool ping();
bool isOpen() const; bool isOpen() const;
bool isOpenError() const; bool isOpenError() const;
TQStringList tables() const; TQStringList tables() const;

@ -74,6 +74,7 @@ public:
const TQString & = TQString::null, const TQString & = TQString::null,
int = -1) = 0 /ReleaseGIL/; int = -1) = 0 /ReleaseGIL/;
virtual void close() = 0; virtual void close() = 0;
virtual bool ping() = 0;
virtual TQSqlQuery createQuery() const = 0; virtual TQSqlQuery createQuery() const = 0;
%If (TQt_3_2_0 -) %If (TQt_3_2_0 -)

Loading…
Cancel
Save