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

List:       kfm-devel
Subject:    Re: Intergrating mht file to konqueror
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-10-05 9:38:52
Message-ID: 200410050639.02654.thiago.macieira () kdemail ! net
[Download RAW message or body]


Spiros Georgaras wrote:
>My mhtProtocol::listDir function adds a UDSEntry for each of the files
>contained in the mht file. Is this the right thing to do?

I believe so. That's how all listDirs report their files.

>What exactly is the function of mhtProtocol::stat? I mean what arguments
> could it take and what should it return?

Cf. man stat

It's checking the status of the file or directory to see if it exists.

>3. I also want to ask if writing a kioslave is self contained. I mean does
>konqueror need to have a corresponding part of code in order to know that
> it should display ' mht:/d/292 Euro.mht/' as a directory listing, etc?

No, Konqueror doesn't need any more code than it currently has. All you need 
is in your kioslave: either in the form of code, or in the additional 
instructions provided by the .protocol file.

For example, the fact that it's a directory listing is specified in 
the .protocol file.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

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

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