diff options
| author | Artem Dyomin <artem.dyomin@qt.io> | 2025-08-16 17:00:08 +0200 |
|---|---|---|
| committer | Artem Dyomin <artem.dyomin@qt.io> | 2025-08-21 13:57:50 +0200 |
| commit | 1bc470a6fc033b8ba258c976628f4dcaa0d7c640 (patch) | |
| tree | 9dab13ada3351be2897b78ff6d35a6b6d56a2407 /src/widgets/doc/snippets/mainwindowsnippet.cpp | |
| parent | 51d04d0917aabdcbac17d67c758b8ccd63f57f85 (diff) | |
QRM: implement quasi-virtual logic in a separate class
- use type-safe calls
(before the patch, mess of args/ret types leads to UB).
- encapsualte all the logic of callFN init and and
calls propagation in QQuasiVirtualInterface/xxxSubclass
- get rid of operation enums, use typed method aliases instead.
- the logic can be reused in other qt elements
- decreases binary size on the user size. On macOS build:
tst_qrangemodel: got 171696B (5%) decrease, 3361600B => 3189904B.
Most likely, it's because of the replacement of 2 call funcs with 1.
- insignificantly decreases binary size of QtCore.
Pick-to: 6.10
Change-Id: Ib961611adf7bb179985b9e27254839ce05425406
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
