qtdoc/examples/demos/lightningviewer/models
MohammadHossein Qanbari e7aa32c8fb Lightning Viewer Example: Avoid Using Heap Memory When Is Not Necessary
Remove the implementation of copy/move constructors/assignments to
follow the rule of zero/five (LastStrikeInfo).

Use std::unique_ptr instead of QScopedPointer.

Remove the copy/move constructors and assignments of some classes
because they are not copyable/movable.

Prefer stack memory over heap memory whenever possible.

Fixes: QTBUG-121018
Pick-to: 6.7
Change-Id: Ie8784a49beeb23d4ccbf4c18a3158ab7b25b5c5b
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2024-01-17 14:26:40 +01:00
..
lightningitemmodel.cpp Lightning Viewer Example: Use chrono for Time Duration + Fix Bug 2024-01-16 09:36:06 +01:00
lightningitemmodel.h Lightning Viewer Example: Avoid Using Heap Memory When Is Not Necessary 2024-01-17 14:26:40 +01:00