Review Request 115284: Provide KFormat wrapper as QML plugin
Marco Martin
notmart at gmail.com
Fri Jan 24 12:16:01 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115284/#review48195
-----------------------------------------------------------
err, this is actually a qml binding for a class in a framework that is external from plasma.
I can already see random applications doing their own binding because of not wanting to depend from plasma core
being in kcoreaddons, the "right" way, should be really to do an import for kcoreaddons in its framework
- Marco Martin
On Jan. 24, 2014, 11:28 a.m., Bhushan Shah wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115284/
> -----------------------------------------------------------
>
> (Updated Jan. 24, 2014, 11:28 a.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-framework
>
>
> Description
> -------
>
> In Plasma1 KLocale wrapper was used to format different things like duration, it was removed and also KLocale was split up so here is KFormat wrapper to use this methods.
>
> I found no better place then qtextracomponents, should be different import?
>
>
> Diffs
> -----
>
> src/declarativeimports/core/CMakeLists.txt 71f2cb3
> src/declarativeimports/core/corebindingsplugin.cpp acc7cb7
> src/declarativeimports/core/formats.h PRE-CREATION
> src/declarativeimports/core/formats.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/115284/diff/
>
>
> Testing
> -------
>
> Tested formatDuration in battery monitor.
>
>
> Thanks,
>
> Bhushan Shah
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140124/5398fb1e/attachment.html>
More information about the Plasma-devel
mailing list