Patch for bug 178275

rahman duran rahman.duran at gmail.com
Sat Mar 21 20:37:42 GMT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090321/72d6a1c7/attachment.htm>


More information about the kde-core-devel mailing list