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

List:       kde-devel
Subject:    Re: ioslave behaviour and url's
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-10-30 10:13:45
[Download RAW message or body]

On Mardi 30 Octobre 2001 07:15, Jay Oliveri wrote:
> I don't have a stat method.
You definitely should ;-)

> Currently, when I enter a key like the one listed below, the Konq 
> window changes to that of one expecting a list of files in a directory 
> (the same screen when you do file:/etc).
But it wouldn't do that if stat() was returning "this is a file"
in all cases (if that's what you want). Much like kio_http does, btw,
so you might want to look at kdelibs/kio/http/http.cc

> I've looked at the other slaves and I can't find any pattern to what 
> information needs to be in the UDSEntry object.

Look harder ;) There's a tutorial on http://developer.kde.org,
and another one that was linked on dot.kde.org, and there are the kio_file
and kio_ftp slaves as examples of real stat() implementations,
and kio_http for a simple "it's always a file" stat().

David.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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