This is a discussion on Re: KDE shutdown does not wait till queryExit() returns true - KDE ; On Tuesday 21 February 2006 09:24, Sven Burmeister wrote: > Hi! > > Am Dienstag, 21. Februar 2006 00:41 schrieb Christian Loose: > > > If it is expected behaviour, how can I make KDE wait on shutdown, if the ...
On Tuesday 21 February 2006 09:24, Sven Burmeister wrote:
> Am Dienstag, 21. Februar 2006 00:41 schrieb Christian Loose:
> > > If it is expected behaviour, how can I make KDE wait on shutdown, if the
> > > application is only in the tray?
> > The documentation for KMainWindow::queryExit() says:
> > "If you need to do serious things on exit (like shutting a dial-up
> > connection down), connect to the signal KApplication::shutDown()
> > <../../kdecore/html/classKApplication.html#l10>."
> > Maybe that helps?
> Unfortunately not, because that seems to be an old doc, which I followed
> first, yet it did not work, but then found:
That's from trunk, i.e. KDE4 - ignore that if you're still developing with qt3/kde3.
> KDE seems to only respect closeEvent(), yet that one seems to be not triggered
> when apps are only in tray.
That might be. Session management works for actual windows, but kicker would need
to do things by hand in order to send close events to systray icons...
The shutDown signal thing should still work though, AFAICS.
David Faure, firstname.lastname@example.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<