QProcess vs K3Process

Oswald Buddenhagen ossi at kde.org
Thu Jun 7 00:29:28 BST 2007


On Thu, Jun 07, 2007 at 01:03:41AM +0200, Simon Hausmann wrote:
> On Wednesday 06 June 2007 21:56:52 Oswald Buddenhagen wrote: [...]
> > > >    void start();
> > >
> > > Please add the OpenMode argument with a default value of
> > > QIODevice::ReadWrite.
> >
> > that omission is in fact intentional. the argument doesn't fulfill
> > any useful function as far as i can see - the mode is determined by
> > the channel modes + redirections.  fwiw, i also suggested this to tt
> > for the new overloads.
> 
> I'm not going to argue for the channel modes/redirections, but the
> ability of passing QIODevice::Text as part of the open mode is useful
> and for example needed by kdevelop.
> 
ok, that's convincing. but then i'd do like i originally suggested to
tt: setNextOpenMode(). the idea being that i can pass a complete
QProcess object to a conceivable QProcessGroup, which can just call
start() without anything else on it.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list