Re[2]: How to gracefully kill a KUniqueApplication and wait for its termination?

2013-04-06 Thread Ilya Basin
Hi Thiago. TM> Use QDBusServiceWatcher to find out when the name unregisters. This worked. Thanks. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: How to gracefully kill a KUniqueApplication and wait for its termination?

2013-03-15 Thread Thiago Macieira
On sexta-feira, 15 de março de 2013 06.10.37, Ilya Basin wrote: > Hi list! > There's such app called bluedevilmonolithic. It goes to background on > start. > Current code to terminate it: > > void BlueDevilDaemon::monolithicQuit(QDBusPendingCallWatcher* watcher) > { > // can restart here? >

How to gracefully kill a KUniqueApplication and wait for its termination?

2013-03-14 Thread Ilya Basin
Hi list! There's such app called bluedevilmonolithic. It goes to background on start. Current code to terminate it: void BlueDevilDaemon::monolithicQuit(QDBusPendingCallWatcher* watcher) { // can restart here? } QDBusMessage msg = QDBusMessage::createMethodCall( "org.kde.blu