Yes this works only for local files. "konq_fileitemcapabilities.cpp" uses this for local file check. <br>And it uses KProtocalManager::supportsWriting(url)&&item.iswritable() for remote files. <br><br>So what do you suggest? Just adding isReallyLocal check should be enough? Or I should <br>
add support for remote files as  "konq_fileitemcapabilities.cpp" did ?<br><br><div class="gmail_quote">On Sat, Mar 21, 2009 at 10:20 PM, Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Saturday 21 March 2009, rahman duran wrote:<br>
> Here is the working one.<br>
<br>
</div>this will only work for local files. which may be enough. in which case, a<br>
check for isReallyLocal should be used there ...<br>
<br>
a KIO::stat would work even for remote files, for protocols that support it,<br>
but maybe that's not needed and just checking local files would be Good<br>
Enough?<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Software<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rahman Duran<br><br>Software Engineer<br>Turkey<br><br>