Review Request 117275: Deprecate the catalog name stuff from KAboutData
Alex Merry
alex.merry at kde.org
Mon Apr 14 16:04:11 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117275/
-----------------------------------------------------------
(Updated April 14, 2014, 4:04 p.m.)
Review request for KDE Frameworks, David Faure, Kevin Ottens, and Michael Pyne.
Changes
-------
This version adds both short-form and long-form constructors.
I've left the organization domain stuff that was discussed for another RR - this RR just preserves existing behaviour.
I also extended the tests to actually test the new constructors.
Repository: kcoreaddons
Description (updated)
-------
Deprecate the catalog name stuff from KAboutData
This is pretty useless - the translation catalog has to be set before
KAboutData is constructed in order to translate its arguments.
Note that we cannot provide a constructor overload that is identical
other than omitting the catalog name argument, as that would be
ambiguous (if 4 strings are passed, it could be either the new
constructor or the old one). So instead, we provide two new
constructors: one requiring at least 4 strings and the license type, and
one only taking 3 strings.
Diffs (updated)
-----
autotests/kaboutdatatest.cpp 22b013c0626ebea94f371474048c670b3d50dad6
src/lib/kaboutdata.h cff1e3f67e33657fdd265a82166ef2a04cbcc3d1
src/lib/kaboutdata.cpp ce64a13aaa89bb4bc077f05e5f8e175d6a441ead
Diff: https://git.reviewboard.kde.org/r/117275/diff/
Testing
-------
Builds, tests pass.
Thanks,
Alex Merry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140414/63a4b3bc/attachment.html>
More information about the Kde-frameworks-devel
mailing list