Review Request 113429: Added utility function for converting KIO permissions (mode_t) to QFile::Permissions

David Faure faure at kde.org
Sun Oct 27 08:20:40 GMT 2013


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


Please use ReadUser instead of ReadOwner (like the function in the frameworks branch does).

ReadUser would be wrong on Windows ("returns the rights of the current user").


kio/kio/global.cpp
<http://git.reviewboard.kde.org/r/113429/#comment30803>

    Not needed, since the .h includes it already.


- David Faure


On Oct. 25, 2013, 1:15 p.m., Dawit Alemayehu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113429/
> -----------------------------------------------------------
> 
> (Updated Oct. 25, 2013, 1:15 p.m.)
> 
> 
> Review request for kdelibs and David Faure.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> This patch adds a utility function in kio/global.h for converting KIO permissions which are expressed in mode_t to QFile::Permissions.
> 
> 
> Diffs
> -----
> 
>   kio/kio/global.h 9a63c7f 
>   kio/kio/global.cpp 37efe46 
>   kio/tests/CMakeLists.txt 1019312 
>   kio/tests/globaltest.h PRE-CREATION 
>   kio/tests/globaltest.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/113429/diff/
> 
> 
> Testing
> -------
> 
> unit tests.
> 
> 
> Thanks,
> 
> Dawit Alemayehu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20131027/2df3a6b3/attachment.htm>


More information about the kde-core-devel mailing list