Review Request 120087: Expose DurationFormatOption from KLocale

Kai Uwe Broulik kde at privat.broulik.de
Tue Sep 9 13:56:46 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120087/
-----------------------------------------------------------

(Updated Sept. 9, 2014, 1:56 nachm.)


Review request for Plasma.


Changes
-------

Q_DECLARE_FLAGS to make it work without int cast hackery


Repository: kdeclarative


Description
-------

This patch exposes the duration format options from KLocale's formatDuration in KDeclarative.

This alows to show a time in eg. hh:mm instead of the default hh:mm:ss


Diffs (updated)
-----

  src/qmlcontrols/kcoreaddons/formats.h 275f351 
  src/qmlcontrols/kcoreaddons/formats.cpp c853e97 
  src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp 9dc17fa 

Diff: https://git.reviewboard.kde.org/r/120087/diff/


Testing
-------

Adjusted battery monitor, shows proper value.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140909/0ebdfe27/attachment.html>


More information about the Plasma-devel mailing list