Review Request 119535: Move QML bindings for KUser to kdeclarative
Sebastian Kügler
sebas at kde.org
Thu Jul 31 13:15:07 UTC 2014
> On July 31, 2014, 12:56 p.m., David Edmundson wrote:
> > src/qmlcontrols/kcoreaddons/kuserproxy.cpp, line 128
> > <https://git.reviewboard.kde.org/r/119535/diff/2/?file=294403#file294403line128>
> >
> > This is a static method. You don't need to call QHostInfo ctor.
Hah, thanks for catching it. I had wondered why it wasn't static, but tried the QHostInfo::hostName() method first (which is non-static), so I assumed localHostName() would not be static, either. There might be a good reason to have these things different in the Qt API, let's just assume that. ;)
- Sebastian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119535/#review63563
-----------------------------------------------------------
On July 29, 2014, 6:04 p.m., Sebastian Kügler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119535/
> -----------------------------------------------------------
>
> (Updated July 29, 2014, 6:04 p.m.)
>
>
> Review request for KDE Frameworks and Plasma.
>
>
> Repository: kdeclarative
>
>
> Description
> -------
>
> Move QML bindings for KUser to kdeclarative
>
> This code has already been released, but privately inside Kickoff. As it is not strictly related (or limited to) Kickoff, I'd like to move it into kdeclarative. There are already other bindings for classes from KCoreAddons there, so this seems like a nice fit.
>
> The class is useful as public API since it allows customization of apps, making the user feel more familiar with the program at hand. I want to use the name and face icon of the user in more places (systemsettings redesign comes to mind), so it'd be useful to have it shared.
>
>
> Diffs
> -----
>
> src/qmlcontrols/kcoreaddons/CMakeLists.txt 597cc2c
> src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp 3c1a96e
> src/qmlcontrols/kcoreaddons/kuserproxy.h PRE-CREATION
> src/qmlcontrols/kcoreaddons/kuserproxy.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/119535/diff/
>
>
> Testing
> -------
>
> Ported an (unreleased) app using this class to the new location, works as expected, no regressions encountered.
>
>
> Thanks,
>
> Sebastian Kügler
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140731/055b96ad/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list