KDEUI
kcrash.h
Go to the documentation of this file.
void setCrashHandler(HandlerType handler=defaultCrashHandler)
Install a function to be called when a crash occurs.
Definition kcrash.cpp:234
void setApplicationPath(const QString &path)
Sets the application path which should be passed to DrKonqi, our nice crash display application.
Definition kcrash.cpp:161
void setDrKonqiEnabled(bool enabled)
Enables or disables launching DrKonqi from the crash handler.
Definition kcrash.cpp:204
void setEmergencySaveFunction(HandlerType saveFunction=0)
Installs a function which should try to save the application's data.
Definition kcrash.cpp:101
void setFlags(CrashFlags flags)
Set options to determine how the default crash handler should behave.
void setApplicationName(const QString &name)
Sets the application name which should be passed to DrKonqi, our nice crash display application.
Definition kcrash.cpp:187
HandlerType emergencySaveFunction()
Returns the currently set emergency save function.
Definition kcrash.cpp:115
bool isDrKonqiEnabled()
Returns true if DrKonqi is set to be launched from the crash handler or false otherwise.
Definition kcrash.cpp:228
@ AlwaysDirectly
never try to to start DrKonqi via kdeinit. Use fork() and exec() instead.
Definition kcrash.h:110
@ AutoRestart
autorestart this application. Only sensible for KUniqueApplications.
Definition kcrash.h:111
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.