Review Request 111636: Port away from kde_file.h in AuthInfo (KIO)

David Gil Oliva davidgiloliva at gmail.com
Tue Jul 23 20:23:52 UTC 2013



> On July 23, 2013, 9:42 a.m., Kevin Ottens wrote:
> > It would be nice if your test program could be turned into an automated test and added to this review.

Ok, I'll try.


> On July 23, 2013, 9:42 a.m., Kevin Ottens wrote:
> > staging/kio/src/core/authinfo.h, line 375
> > <http://git.reviewboard.kde.org/r/111636/diff/1/?file=172717#file172717line375>
> >
> >     Should be "const QString &"

I think you didn't notice something important: the variable line gets modified in the method, so no const possible :-)

Passing the variables by value was intentional because that way the parsing done inside the method doesn't disturb the parsing done outside.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111636/#review36350
-----------------------------------------------------------


On July 21, 2013, 11:41 p.m., David Gil Oliva wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111636/
> -----------------------------------------------------------
> 
> (Updated July 21, 2013, 11:41 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Description
> -------
> 
> Port away from kde_file.h in AuthInfo (KIO)
> 
> I have tried not to touch much code, but I finally rewrote some parts to make them easier to understand.
> 
> 
> Diffs
> -----
> 
>   staging/kio/src/core/authinfo.h d6415b2f2e9ccec7c3e046f569fb44dbbc879d6b 
>   staging/kio/src/core/authinfo.cpp 65ebacf84e989f19f1b896c596a6b24185c67447 
> 
> Diff: http://git.reviewboard.kde.org/r/111636/diff/
> 
> 
> Testing
> -------
> 
> It builds. I have tested the part of the code not related to loginMap with a little program and .netrc sample files, to check whether it correctly parses the information.
> 
> 
> Thanks,
> 
> David Gil Oliva
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130723/21fcc739/attachment.html>


More information about the Kde-frameworks-devel mailing list