I'm working on a small kicker applet monitoring some other programs.
The applet should show up a message, if the user wants to shutdown the
system - including the possibility to abort the shutdown.

I've browsed all the KDE classes, but I don't have found a way to detect
(and abort) the shutdown. How this can be done?

Thanks for help,