Introduce nullptr and replace foreach with new C++11 range based for loops. Minor fixups of signals, file dialog usage. Apply the same changes to the ItemViews/puzzle example since it shares parts of the code with DragAndDrop/puzzle. Make some changes to both examples to that the diff of the two becomes small for easier comparison. Task-number: QTBUG-60635 Change-Id: I8af824229ebac24d6ec151eae92176d227695490 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io> |
||
|---|---|---|
| .. | ||
| example.jpg | ||
| main.cpp | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| piecesmodel.cpp | ||
| piecesmodel.h | ||
| puzzle.pro | ||
| puzzle.qrc | ||
| puzzlewidget.cpp | ||
| puzzlewidget.h | ||