Patch for bug 178275

rahman duran rahman.duran at gmail.com
Sat Mar 21 21:08:21 GMT 2009


Yep, I have added remote file support with
KProtocolManager::supportsWrting(url) . Local file check is handled by
checking parent dirs permission.

On Sat, Mar 21, 2009 at 10:37 PM, rahman duran <rahman.duran at gmail.com>wrote:

> Yes this works only for local files. "konq_fileitemcapabilities.cpp" uses
> this for local file check.
> And it uses KProtocalManager::supportsWriting(url)&&item.iswritable() for
> remote files.
>
> So what do you suggest? Just adding isReallyLocal check should be enough?
> Or I should
> add support for remote files as "konq_fileitemcapabilities.cpp" did ?
>
>
> On Sat, Mar 21, 2009 at 10:20 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
>
>> On Saturday 21 March 2009, rahman duran wrote:
>> > Here is the working one.
>>
>> this will only work for local files. which may be enough. in which case, a
>> check for isReallyLocal should be used there ...
>>
>> a KIO::stat would work even for remote files, for protocols that support
>> it,
>> but maybe that's not needed and just checking local files would be Good
>> Enough?
>>
>> --
>> Aaron J. Seigo
>> humru othro a kohnu se
>> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
>>
>> KDE core developer sponsored by Qt Software
>>
>>
>
>
> --
> Rahman Duran
>
> Software Engineer
> Turkey
>
>


-- 
Rahman Duran

Software Engineer
Turkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090321/2805de43/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpropertiesdialog-rename-permission-check.diff
Type: application/octet-stream
Size: 1408 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090321/2805de43/attachment.obj>


More information about the kde-core-devel mailing list