Use Klocale in QML ?

Marco Martin notmart at gmail.com
Fri Dec 9 13:54:22 UTC 2011


On Thu, Dec 8, 2011 at 7:09 AM, Guillaume DE BURE
<guillaume.debure at gmail.com> wrote:
> Hi there,
>
> Is it possible to use KLocale in QML ? Specifically, I need the formatMoney
> method. Looked in the doc and in various QML examples, but couldn't find
> information.
>

still not. possible no.

what would need is probably a c++ plugin, klocale object instantiable
from qml that exposes all those methods.

sounds like a good task, even a jj since even if pretty long would be
quite trivial to do.

Cheers,
Marco Martin


More information about the Plasma-devel mailing list