summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@digia.com>2013-03-23 21:36:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-28 14:28:45 +0100
commit988a8dbe978500b4709ea0baea4d6038abc0f1e0 (patch)
tree50c7e6d2871457bd21da40409d0600ea12660757
parentaa5cfcd91e7c8b4031e9e61151eee7c0fae4af6b (diff)
Add QAbstractItemModel::createIndex() in source breaks
The code change is qtbase 15953e95030ee42c78a84c48c7a3f3c2c448601f. Change-Id: Ic3094055c1cd96ca74bcf9f678962ec73ae62d0a Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
-rw-r--r--doc/src/source-breaks.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/source-breaks.qdoc b/doc/src/source-breaks.qdoc
index 1bb31a83a..912254f08 100644
--- a/doc/src/source-breaks.qdoc
+++ b/doc/src/source-breaks.qdoc
@@ -116,6 +116,8 @@ The following sections lists the API changes in each module and provides recomme
and \l{QAbstractItemModel::endMoveRows}{endMoveRows()} no longer emits the \c{layoutChanged} signal.
All proxy models must connect to (and disconnect from) the \c{rowsAboutToBeMoved} and \c{rowsMoved} signals.
\li \l{QAbstractItemModel::sibling} is virtual now to allow implementations to optimize based on internal data.
+ \li \l{QAbstractItemModel::createIndex} method now only provides the void* and quintptr overloads, making calls with a literal \c 0
+ (createIndex(row, col, 0)) ambiguous. Either cast (quintptr(0)) or omit the third argument(to get the void* overload).
\endlist
\li Default value of the \l{QSortFilterProxyModel::dynamicSortFilter} property is changed to \c{true}.
\li \l{QString::mid}, \l{QString::midRef}, and \l{QByteArray::mid} now return an empty \c{QString}, \c{QStringRef}, and \c{QByteArray} respectively,