diff options
author | Friedemann Kleint <[email protected]> | 2023-11-28 13:42:00 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2023-12-06 18:22:41 +0100 |
commit | d50b56b47544ad2b72811045f64df24eaaf0cf59 (patch) | |
tree | 7226ca390cd34136f6ea833d93edeb187e5b35c2 /examples/widgets/doc/src | |
parent | 5038e1eb650e5661c8e9e497f84715679e5161a8 (diff) |
Polish the EditableTreeModel example
- Fix/silence most clang-tidy/compiler warnings
* unsigned/int comparison
* Avoid repeating return / default parameter types
* Use auto * for pointers
* Streamline code, use ternary operators
* Move constructor parameters
* Observe rule of 5 by using Q_DISABLE_COPY_MOVE
- Add some bells && whistles, resize properly, expand all
Change-Id: I1721458ff66dcba123ff3a2cf50e7d15387a4e8b
Reviewed-by: Kai Köhne <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src')
0 files changed, 0 insertions, 0 deletions