[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Idea for the new kio
From: Waldo Bastian <bastian () suse ! de>
Date: 2000-01-30 19:36:29
[Download RAW message or body]
On Sun, 30 Jan 2000, Stephan Kulow wrote:
> Waldo Bastian wrote:
> > On Sun, 30 Jan 2000, David Faure wrote:
> > > > You could also make your code simpler in giving the slave a
> > > > bunch of URLs to operate on and a common code let the slave
> > > > operate one by one.
> > >
> > > Well I thought of
> > > mkdir ( QStringList paths )
> > >
> > > but that sucks. Because for dirs that already exist, we want to
> > > show the rename dialog, and if skip is chosen we have to remember
> > > it, and so on.
> >
> > When the slave encounters an error it reports it to the application
> > and waits for new commands. The application can popup dialogs and
> > send a new mkdir(...) command to the slave.
>
> Then the app needs to tell the app which directories it already
> created. Otherwise you get rename dialogs later.
If you send a list of 20 directories to the slave and it reports an
error for the 12th directory, it's an implicit confirmation that first
11 have been created succesfully.
For the moment I would just start with sending directories one by one.
Later on you can optimize a bit and send them as a batch.
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic