KLazyLocalizedString: add KLocalizedString forward API for convenience
Adds the complete API of KLocalizedString as inline variant to KLazyLocalizedString.
Motivation is that by samples there is a typical code pattern of KLocalizedString(lazyString).foo()
calls, and where a shorter variant lazyString.foo()
makes sense as well and makes the code shorter.
@vkrause: Curious, what is the motivation/pattern around having the operator KLocalizedString() and with a non-inline implementation? Was there some interest to have a header with no KLocalizedString and Qt deps being transitively included?
Edited by Friedrich W. H. Kossebau