summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-09-20 14:37:44 -0500
committerTimothy Pearson <[email protected]>2014-09-20 14:37:44 -0500
commit5db5a616d835fa0b4a7bb7a5693f065364e3f641 (patch)
treececb867ef7953b268a5e1c66224e5061e78e3b60
parent4049988a92da41386f87f491edd86bee95743209 (diff)
downloadpytqt-5db5a616d835fa0b4a7bb7a5693f065364e3f641.tar.gz
pytqt-5db5a616d835fa0b4a7bb7a5693f065364e3f641.zip
Add missing methods to SQL database and driver classes
This resolves Bug 2121
-rw-r--r--sip/qtsql/qsqldatabase.sip1
-rw-r--r--sip/qtsql/qsqldriver.sip1
2 files changed, 2 insertions, 0 deletions
diff --git a/sip/qtsql/qsqldatabase.sip b/sip/qtsql/qsqldatabase.sip
index e7d3bf4..c3a11be 100644
--- a/sip/qtsql/qsqldatabase.sip
+++ b/sip/qtsql/qsqldatabase.sip
@@ -80,6 +80,7 @@ public:
bool open() /ReleaseGIL/;
bool open(const TQString &,const TQString &) /ReleaseGIL/;
void close();
+ bool ping();
bool isOpen() const;
bool isOpenError() const;
TQStringList tables() const;
diff --git a/sip/qtsql/qsqldriver.sip b/sip/qtsql/qsqldriver.sip
index 841d5a9..cfde417 100644
--- a/sip/qtsql/qsqldriver.sip
+++ b/sip/qtsql/qsqldriver.sip
@@ -74,6 +74,7 @@ public:
const TQString & = TQString::null,
int = -1) = 0 /ReleaseGIL/;
virtual void close() = 0;
+ virtual bool ping() = 0;
virtual TQSqlQuery createQuery() const = 0;
%If (TQt_3_2_0 -)