qt5base-lts/tests/auto/corelib
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
..
animation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
codecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
global Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
io Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
itemmodels QModelIndex: clean up integer size confusion in the API 2012-09-22 20:45:12 +02:00
json Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
mimetypes Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
plugin Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
statemachine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
thread Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tools Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00