Namespace KCrash |
|
This class handles segmentation-faults. By default it displays a message-box saying the application crashed. This default can be overridden by setting a custom crash handler with setCrashHandler(). If a function is specified with setEmergencySaveFunction() it will be called by the default crash handler, giving the application a chance to save its data. |
|
Returns the installed crash handler. Returns the crash handler |
|
The default crash handler.
signal - the signal number |
|
Return the currently set emergency save function. Returns the emergency save function |
|
Sets the application name name which should be passed to
Dr. Konqi, our nice crash display application.
name - the name of the application, as shown in Dr. Konqi |
|
Sets the application path which should be passed to
Dr. Konqi, our nice crash display application.
path - the application path. |
|
Install a function to be called in case a SIGSEGV is caught.
handler - HandlerType handler can be one of handler - the crash handler |
|
Installs a function which should try to save the applications data.
It is the crash handler's responsibility to call this function.
Therefore, if no crash handler is set, the default crash handler
is installed to ensure the save function is called.
saveFunction - the handler to install |
|
Set DrKonqi fire-up options.
flags - ORed together CrashFlags |
Options to determine how KCrash should behave while firing up DrKonqi.
KeepFDs | - 1 | - | ||
SaferDialog | - 2 | - | ||
AlwaysDirectly | - 4 | - |