Re: API review: KDBusApplicationStarter

2012-06-11 Thread Thiago Macieira
On terça-feira, 22 de maio de 2012 23.03.22, David Faure wrote: > I'm about to write this class for libkdbus > (or possibly for Qt, if thiago thinks this could go into libQtDBus?), > to replace KToolInvocation::startService*. Can't we use D-Bus service starting now? What is missing in the daemon?

Re: API review: KDBusApplicationStarter

2012-06-11 Thread Sune Vuorela
On 2012-05-22, David Faure wrote: > bool waitForReady(int msecs = 3); This one waits and has a timeout > static bool execute(const QString &program, const QString > &expectedServiceName, > const QStringList &arguments = QStringList(), QString > *error = 0);

Re: API review: KDBusApplicationStarter

2012-06-11 Thread Thiago Macieira
On quarta-feira, 23 de maio de 2012 10.18.26, David Faure wrote: > On Wednesday 23 May 2012 01:29:52 Thiago Macieira wrote: > > On terça-feira, 22 de maio de 2012 23.03.22, David Faure wrote: > > > I'm about to write this class for libkdbus > > > (or possibly for Qt, if thiago thinks this could go

Re: API review: KDBusApplicationStarter

2012-05-23 Thread David Faure
On Wednesday 23 May 2012 11:12:56 Thiago Macieira wrote: > On quarta-feira, 23 de maio de 2012 10.18.26, David Faure wrote: > > On Wednesday 23 May 2012 01:29:52 Thiago Macieira wrote: > > > On terça-feira, 22 de maio de 2012 23.03.22, David Faure wrote: > > > > I'm about to write this class for li

Re: API review: KDBusApplicationStarter

2012-05-23 Thread David Faure
On Wednesday 23 May 2012 01:29:52 Thiago Macieira wrote: > On terça-feira, 22 de maio de 2012 23.03.22, David Faure wrote: > > I'm about to write this class for libkdbus > > (or possibly for Qt, if thiago thinks this could go into libQtDBus?), > > to replace KToolInvocation::startService*. > > Can

Re: API review: KDBusApplicationStarter

2012-05-22 Thread David Faure
On Wednesday 23 May 2012 00:52:18 Christoph Feck wrote: > How immediately is immediately, i.e. does it return before trying to > load the segment? What does the return value mean? Whatever QProcess::start() does :-) You're right, though, that one returns void, so I should just do the same. > If

Re: API review: KDBusApplicationStarter

2012-05-22 Thread Christoph Feck
On Tuesday 22 May 2012 23:03:22 David Faure wrote: > I'm about to write this class for libkdbus > (or possibly for Qt, if thiago thinks this could go into > libQtDBus?), to replace KToolInvocation::startService*. > > Comments welcome :-) > > > /** > * KDBusApplicationStarter starts an applicati

API review: KDBusApplicationStarter

2012-05-22 Thread David Faure
I'm about to write this class for libkdbus (or possibly for Qt, if thiago thinks this could go into libQtDBus?), to replace KToolInvocation::startService*. Comments welcome :-) /** * KDBusApplicationStarter starts an application with QProcess, and waits for * it to register to D-Bus. * * Thi