Skip to content

Draft: Do implicit conversion by KLocalizedString construcot instead of operator

Friedrich W. H. Kossebau requested to merge work/kossebau/lazytononlazy into master

Allows consumers to write nicer code when needing to explicitly do a conversion.

Having the target type providing a respective conversion constructor seems also more common in Qt & KF API, at least by my simple search grepping for "operator K" and operator Q".

@vkrause @aacid

(Patch written before I discovered the domain issue, but you might want to consider this already in parallel)

Edited by Friedrich W. H. Kossebau

Merge request reports