diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-11-11 11:27:24 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-11-15 22:38:05 +0100 |
| commit | 69a24ed0186f0634be30687f676a1f90dcd95dd6 (patch) | |
| tree | 3cc1e95a617736f3737c63f865d802a7f9197f8a /src/corelib/text/qstring.cpp | |
| parent | 89c50e95a54883e4a0a73190d10068956275519f (diff) | |
qcombobox_p.h: clean up includes
Add:
- <array> for the data member in QComboBoxPrivate, amending
d8e110054876b1cbf186e95bac5561a237ee1c13
- <limit> for numerical_limits in ibid, amending
f0443984b84dea782ccd06dbce59808d55b15dbe
Replace with fwd decl, because the header uses in-name-only, add
include to .cpp file, if not already present:
- QLineEdit
- QPainter
- QStyleOption subclasses
Remove, because after the recent moves of code from the header to the
.cpp, these are no longer needed:
- qapplication.h
- qcompleter.h
- qevent.h
- qstandarditemmodel.h (moved to .cpp)
In qcombobox.cpp, besides the additions implied by the changes to the
_p.h, remove the qcombobox.h include and rely on the transitive
include though the _p.h, thus checking the _p.h file includes for
completeness. This reliance on transitive includes is ok, because
they're all from the same component.
Add includes in the recommended style (<>, QtModule/, grouped by
module, groups ordered by generality, ascending, within groups
alphabetically), staying away from the unordered pre-existing includes
as much as possible. Just move the <array> includes into the right
spot, amending 4a7c76d4a5365343178ea29c8a8e9b8d8acb89b5.
Not picking back to not cause problems with users that rely on
transitive includes, even though this is a private header.
Change-Id: I3aa42daf15f51df02dda4d3ab5aad1c9fb4dfa84
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
0 files changed, 0 insertions, 0 deletions
