qt5base-lts/tests/auto/corelib/itemmodels
Marc Mutz 15953e9503 QModelIndex: clean up integer size confusion in the API
QAIM::createIndex() took either int or quint32, but QMI::internalId()
returned qint64.

In the new interface, createIndex() takes, and internalId() provides,
integers of type quintptr.

This matches the storage size of the void* in the model index and
avoids truncation.

Remove the
  createIndex(int, int, quint32) and
  \obsolete createIndex(int,int,int)
overloads.

This makes a literal 0 in the third parameter ambiguous now.
The solutions have been noted in changes-5.0.0.

Change-Id: I0a0ecd8430eaf695129a4d09d14d4e30745485c4
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-09-22 20:45:12 +02:00
..
qabstractitemmodel QModelIndex: clean up integer size confusion in the API 2012-09-22 20:45:12 +02:00
qabstractproxymodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qidentityproxymodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qitemmodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qitemselectionmodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsortfilterproxymodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qstringlistmodel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
itemmodels.pro Make itemmodels autotest build without widgets 2012-06-07 00:38:44 +02:00