Update SQLite driver for new Qt3/TQt3 API

This relates to Bug 2115
pull/1/head
Timothy Pearson 10 years ago
parent d58276f0fe
commit d860b315a7

@ -252,6 +252,17 @@ void KreSQLiteDriver::close()
}
}
bool KreSQLiteDriver::ping()
{
if ( !isOpen() ) {
return FALSE;
}
// FIXME
// Implement ping if available
return TRUE;
}
TQSqlQuery KreSQLiteDriver::createQuery() const
{
return TQSqlQuery(new KreSQLiteResult(this));

@ -34,6 +34,7 @@ public:
const TQString&,
int );
void close();
bool ping();
TQSqlQuery createQuery() const;
bool beginTransaction();

Loading…
Cancel
Save