Review Request 127252: Port all ion plugins away from KDELibs4Support

Friedrich W. H. Kossebau kossebau at kde.org
Wed Mar 2 11:30:36 UTC 2016


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

(Updated March 2, 2016, 11:30 a.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma and Marco Martin.


Changes
-------

Submitted with commit 6801fa9c2475887f4ca993aba5ae091a181d901b by Friedrich W. H. Kossebau to branch master.


Repository: plasma-workspace


Description
-------

Porting `KLocalizedDate(date.date()).formatDate(KLocale::DayName, KLocale::ShortName)` needed some lookup, as `KLocale::DayName` confused me. But it's still just the number of the day in the month, cmp.
https://code.woboq.org/kde/kdelibs/kdecore/date/kcalendarsystem.cpp.html#2160

I hunted that call down to
https://code.woboq.org/kde/kdelibs/kdecore/localization/klocale_kde.cpp.html#1145
for which I consider `QLocale().toString(qlonglong)` to be an equivalent and which also seems proper here.
Agreed?

Other changes should be no-brainers.


Diffs
-----

  dataengines/weather/ions/noaa/CMakeLists.txt 6b76c61 
  dataengines/weather/ions/noaa/ion_noaa.h ea74814 
  dataengines/weather/ions/noaa/ion_noaa.cpp 809f550 
  dataengines/weather/ions/wetter.com/CMakeLists.txt 9b22dd4 
  dataengines/weather/ions/wetter.com/ion_wettercom.cpp f4d3dad 

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


Testing
-------

Tested both noaa & wettercom station, still showed correct day numbers for me.
Could not test with non-arabic number presentation locale (only assume it should work)


Thanks,

Friedrich W. H. Kossebau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160302/1b41f3b6/attachment.html>


More information about the Plasma-devel mailing list