kcfg_compiler now documents valid inputs for its 'Color' type
ClosedPublic

Authored by sitter on Sep 17 2018, 1:44 PM.

Details

Summary

it wasn't exactly clear what the inputs for a Color type may be. this is
now explained along with special type descriptions. it isn't perfectly
ideal here since it is a bit hard to find, but better be hard to find
than not documented at all.

from a quick glance at the code indeed anything goes that QColor can
construct from a QString. there is also custom regex code in the compiler
that allows construction from r,g,b,a via the appropriate ctor of qcolor.

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Sep 17 2018, 1:44 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 17 2018, 1:44 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
sitter requested review of this revision.Sep 17 2018, 1:44 PM
sitter added a subscriber: broulik.Sep 17 2018, 1:44 PM
broulik accepted this revision.Sep 17 2018, 1:45 PM
This revision is now accepted and ready to land.Sep 17 2018, 1:45 PM
This revision was automatically updated to reflect the committed changes.