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

List:       kfm-devel
Subject:    Re: How can I catch Konq's thumbnail requests in my KIO slave?
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-08-26 9:54:26
[Download RAW message or body]

> BTW, since I have to replace KIO::file_copy with KIO::get (only
> TransferJob supports adding metadata), should I create a KIO::get and a
> KIO::put and channel between them, or just a KIO::get and write the
> received data directly to a file? (for the sake of optimization :)

I think this is exactly why you shouldn't use metadata directly,
and you should use the SlaveConfig stuff.
The app can specify any setting, in destination of an ioslave, and the
ioslave can read it with config()->readEntry(). ... I'm not 100% sure it can
be done in your case though (i.e. from a file_copy), better ask Waldo or
read slaveconfig.h in details :)

-- 
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