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

List:       kde-core-devel
Subject:    Re: new KIO
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-02-26 11:57:53
[Download RAW message or body]

On Fri, Mar 17, 2000 at 03:07:31PM +1100, Don Sanders wrote:
> Ok, I'll probably leave out the POP3IOJob class stuff. At the moment my big 
> concern is the dropping of 
> 
>   virtual void slotDel( QStringList& _source );
> 
> in the new KIO stuff, perhaps being replaced by
> 
>   virtual void del( const QString &path, bool isfile);
> 
> I hate to think about how slow it's going to be if I have to make a seperate 
> call to delete every message :-(
> (KIO maintainers any chance of getting the old method restored?).

grep Delete job.h
    DeleteJob *del( const KURL& src, bool shred = false );
    DeleteJob *del( const KURL::List& src, bool shred = false );  

The latter is what you want.

Don't mix things up. With the new KIO, what the ioslave sees can be
VERY different from what the application sees.
libkio is not anymore a stupid interface between app and slave, it
actually does something.

> On a brighter note I have a subset of the pop3 slave working again, eer, I 
> guess that subset is:
>   virtual void get( const QString& __url, const QString& query, bool reload );
> which replaces
>   virtual void slotGet (const char *_url);
> 
> But it's a pretty good start and I hope all the hard stuff is done. I've got 
> background mail checking working again in KMail too.

Great !

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
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