QSvgHandler: make QT_INHERIT macro a proper object


Make it a constexpr QLatin1StringView in a local namespace 'tokens'
instead of a preprocessor macro. The idea is that this namespace will
eventually collect all the tokens, to distinguish tokens from free-form
strings that may be quoted (see e.g. QTBUG-146716 for why such a
distinction would be useful).

No change in TEXT size or relocation count on optimized Linux AMD64
Clang 21 C++26 build.

Amends the start of the public history.

Pick-to: 6.11 6.8
Change-Id: Ibf6deef5f00d1a183826fe94e31254443a670f3a
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit11fa11c580747c8ba79d11d84358f80a84687f82
parent6369d1b2d4ed69ef42a7cc9f18370b6199d275f2
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 12 May 2026 18:52:29 +0000