summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-02-09 14:53:35 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-15 02:36:07 +0100
commit2ecdb8c091cbfdc2b4f81c90828fb61b96c565fe (patch)
treed642200ceda4aa067420667026b20a375abca7a2 /dist
parent980947122307797e1d8da03f768d8f14a360d20b (diff)
QSql*Model: make indexInQuery() virtual
Qt 5 seems like an excellent opportunity to simplify logic and separate concerns by making indexInQuery() virtual. Note that this wasn't my idea, but was mentioned in a helpful comment. Change-Id: Ie29ead110def45297c32de3ce6d07a8eefb08d8c Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.0.06
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index bb4ceef0d0..884c3083fc 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -213,6 +213,8 @@ information about a particular change.
- QSystemLocale has been removed from the public API.
+- QSqlQueryModel::indexInQuery() is now virtual. See note below under QSql.
+
****************************************************************************
* General *
****************************************************************************
@@ -368,6 +370,10 @@ ignore the rest of the range.
-For OnManualSubmit, insertRecord() no longer leaves behind an empty
row if setRecord() fails.
+* QSqlQueryModel::indexInQuery() is now virtual. See
+QSqlTableModel::indexInQuery() as example of how to implement in a
+subclass.
+
****************************************************************************
* Database Drivers *
****************************************************************************