[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Help required on KIO
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-06-24 19:05:38
[Download RAW message or body]

On Sunday 24 June 2001 03:38, Arshad Parvez wrote:
> Hello
> 
> When a user clicks on a file in konqueror, and a certain protocol is 
> recognised to be appropriate for handling such files, what happens 
> next? 
A file is in fact the URL, and its protocol is _part_ of the URL.

> Is there some signal that is generated? or is some class function 
> called for that protocol? 
Konqueror will launch a KRun, which will do some investigation
(is it a file or a directory, can this protocol support listing etc.)
using the KIO::Job methods (stat, listDir, get) etc.
Which kioslave handles those methods depends on the protocol obviously,
and that's defined in the .protocol files.
What exactly are you looking for ? Your question is a bit generic.....

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic