StyleKit: refactor PropertyPathId to QQStyleKitPropertyPath
PropertyPathId is a class that stores information about a
specific property path (such as background.border.color). And
this path can be converted into PropertyPathId_t, which is
a quint32 that can be used as a key in a QHash.
But the class is quite big, and in preparation for upcoming
functionality, it needs to grow further. Rather than keeping
this in the global header, this patch will therefore move this
class into a dedicated cpp file, and at the same, rename it to
QQStyleKitPropertyPath. This is more describing name, and also
not so easily confused with the PropertyPathId type.
The typedefs and constants that describe the ID space move along
with it (PropertyPathId, PropertyStorageId, the storage space
sizes and QQStyleKitPropertyGroupSpace), and the documentation of
how a path ID is composed now sits at the top of the new header
instead of inside the constructor.
While at it, path construction is turned around: rather than asking
a QQStyleKitPropertyGroup for a path ID, you now construct a
QQStyleKitPropertyPath from the group. The group therefore only
needs to expose groupSpace(), and propertyPathId() is gone.
Pick-to: 6.12
Change-Id: I5d296499f765cf9d7e3cf922bbe40387729e22b0
Reviewed-by: Doris Verria <doris.verria@qt.io>