From kde-devel Thu Apr 13 10:30:13 2000 From: "Hummel, Timo" Date: Thu, 13 Apr 2000 10:30:13 +0000 To: kde-devel Subject: RE: RE: KCrash API X-MARC-Message: https://marc.info/?l=kde-devel&m=95562211705533 >You misunderstood me. The code is fine, but the docu in the header: Yes I bet :) >"* @li an user defined function in the form: HandlerType myCrashHandler { myFunctions(); }" This is from Tom Braun AFAIR, you're right, it doesn't work. >There is also: >"#warning the comment above needs to be checked if HandlerType myCrashHandler { m >yFunctions(); } works" This is from me because I didn't knew it either :) >kioslaves (you know what they are, right ?) are not KApplications, >so they don't have the default crash handler, nor do they really >want to use it. So I just set a custom sigsegv handler (in slavebase.cpp). >The point is that I used KCrash for that, but I could have done as well >without (one line in both cases ;-) Sure, but do kioslaves inherit from kapp.cpp? If not, there's no problem with using a signal at all .) Yours Timo