From 4b3533a2e2df6340479b9a91e318d363191d66b4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 28 Dec 2024 22:11:14 +0900 Subject: Use tdecrash.h Signed-off-by: Michele Calgaro --- sip/tdecore/kcrash.sip | 51 ------------------------------------------- sip/tdecore/tdecoremod.sip.in | 2 +- sip/tdecore/tdecrash.sip | 51 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 sip/tdecore/kcrash.sip create mode 100644 sip/tdecore/tdecrash.sip diff --git a/sip/tdecore/kcrash.sip b/sip/tdecore/kcrash.sip deleted file mode 100644 index 582b52a..0000000 --- a/sip/tdecore/kcrash.sip +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright 2006 Jim Bublitz -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module tdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class TDECrash -{ -%TypeHeaderCode -#include -%End - - -public: - static void defaultCrashHandler (int); -//ig static void setCrashHandler (HandlerType = defaultCrashHandler ); -//ig static HandlerType crashHandler (); -//ig static void setEmergencySaveFunction (HandlerType = 0 ); -//ig static HandlerType emergencySaveFunction (); - -%If ( KDE_3_2_0 - ) - static void setSafer (bool); -%End - - static void setApplicationPath (TQString); - static void setApplicationName (TQString); - -protected: - -}; // class TDECrash - diff --git a/sip/tdecore/tdecoremod.sip.in b/sip/tdecore/tdecoremod.sip.in index d7d09fe..1ec8964 100644 --- a/sip/tdecore/tdecoremod.sip.in +++ b/sip/tdecore/tdecoremod.sip.in @@ -49,7 +49,7 @@ %Include tdeconfigbackend.sip %Include tdeconfigbase.sip %Include tdeconfigdata.sip -%Include kcrash.sip +%Include tdecrash.sip %Include kdcoppropertyproxy.sip %Include kdesktopfile.sip %Include tdeglobal.sip diff --git a/sip/tdecore/tdecrash.sip b/sip/tdecore/tdecrash.sip new file mode 100644 index 0000000..e516ce5 --- /dev/null +++ b/sip/tdecore/tdecrash.sip @@ -0,0 +1,51 @@ +// +// Copyright 2006 Jim Bublitz +// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson +// may also apply + + +// Generated by preSip +// module tdecore version KDE 3.5.3 + + +// This software is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of +// the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public +// License along with this library; see the file COPYING. +// If not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +class TDECrash +{ +%TypeHeaderCode +#include +%End + + +public: + static void defaultCrashHandler (int); +//ig static void setCrashHandler (HandlerType = defaultCrashHandler ); +//ig static HandlerType crashHandler (); +//ig static void setEmergencySaveFunction (HandlerType = 0 ); +//ig static HandlerType emergencySaveFunction (); + +%If ( KDE_3_2_0 - ) + static void setSafer (bool); +%End + + static void setApplicationPath (TQString); + static void setApplicationName (TQString); + +protected: + +}; // class TDECrash + -- cgit v1.2.1