qt6-bb10/examples/widgets
Lars Knoll df853fed66 Use qsizetype in QList
The change creates a slight source incompatibility. The main
things to take care of are

* code using printf statements on list.size(). Using qsizetype in
printf statements will always require a cast to work on both 32
and 64 bit.
* A few places where overloads now get ambiguous. One example is
QRandomGenerator::bounded() that has overloads for int, uint and
double, but not int64.
* Streaming list.size() to a QDataStream will change the format
depending on the architecture.

[ChangeLog][QtCore][QList] QList now uses qsizetype to index into
elements.

Change-Id: Iaff562a4d072b97f458417b670f95971bd47cbc6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-06 21:31:14 +02:00
..
animation Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
desktop Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
dialogs CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
doc Doc: Fix typo 2020-06-25 09:56:46 +02:00
draganddrop Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
effects Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
gallery CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
gestures Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
graphicsview Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
itemviews Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
layouts Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
mainwindows Use qsizetype in QList 2020-07-06 21:31:14 +02:00
painting Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
qnx/foreignwindows Use QList instead of QVector in statemachine 2020-07-06 14:06:13 +02:00
richtext Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
scroller Regenerate examples 2020-02-04 18:50:39 +00:00
statemachine CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
tools Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
touch Introduce QInputDevice hierarchy; replace QTouchDevice 2020-06-16 22:06:56 +02:00
tutorials Use | to OR some related flags 2020-06-19 06:13:35 +00:00
widgets Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
windowcontainer Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
.prev_CMakeLists.txt CMake: Regenerate examples/widgets/ projects 2020-04-29 22:48:38 +02:00
CMakeLists.txt macOS: Remove examples for deprecated QMac(NativeWidget|CocoaViewContainer) 2020-06-26 15:10:26 +02:00
widgets.pro macOS: Remove examples for deprecated QMac(NativeWidget|CocoaViewContainer) 2020-06-26 15:10:26 +02:00