diff options
author | Matt Newell <newellm@blur.com> | 2012-03-22 13:27:26 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-02 22:26:10 +0200 |
commit | ccf25f1d2875645067066ffb1038d23c4c1c39c1 (patch) | |
tree | e7f5032d1bde79cca2065371694fc05ed6445fdf /dist | |
parent | 6aded68111885d4df3d17a1d5f12e538c632af60 (diff) |
QSqlDriver functions made virtual
Certain QSqlDriver functions were marked to be made virtual in Qt5.
subscribeToNotification, unsubscribeFromNotification,
subscribedToNotifications, isIdentifierEscaped, and stripDelimiters.
This patch makes them virtual and removes the no longer needed
Implementation counterpart functions. It also updates the relevant
drivers. This patch has no regressions on the tests in
tests/auto/sql/kernel/, tested with sqlite and postgres.
Change-Id: Ia2e1c18dfb803531523a456eb4e710031048e594
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index bb01da38ab..1258792029 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -248,6 +248,10 @@ information about a particular change. - QSqlQueryModel::indexInQuery() is now virtual. See note below under QSql. +- QSqlDriver::subscribeToNotification, unsubscribeFromNotification, + subscribedToNotifications, isIdentifierEscaped, and stripDelimiters + are now virtual. See note below under QtSql. + - qMacVersion() has been removed. Use QSysInfo::macVersion() or QSysInfo::MacintoshVersion instead. @@ -488,6 +492,12 @@ changes. insertRows() and insertRecord() also respect the edit strategy. * QSqlTableModel::setData() and setRecord() in OnRowChange no longer have the side effect of submitting the cached row when invoked on a different row. + +* QSqlDriver::subscribeToNotification, unsubscribeFromNotification, +subscribedToNotifications, isIdentifierEscaped, and stripDelimiters +are now virtual. Their xxxImplemenation counterparts have been removed +now that QSqlDriver subclasses can reimplement these directly. + **************************************************************************** * Database Drivers * **************************************************************************** |