1 /* This file is part of the KDE libraries
2 Copyright (C) 2002 Andreas Beckermann (b_mann@gmx.de)
3 Copyright (C) 2006 Thiago Macieira <thiago@kde.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef KDEBUGDBUSIFACE_H
22 #define KDEBUGDBUSIFACE_H
24 #include <kdecore_export.h>
25 #include <QtCore/qobject.h>
28 * @short D-Bus interface to KDebug.
30 class KDebugDBusIface
: public QObject
33 Q_CLASSINFO("D-Bus Interface", "org.kde.KDebug")
40 * The kdebugrc has been changed and should be reparsed now.
41 * This will simply call kClearDebugConfig
43 Q_SCRIPTABLE
void notifyKDebugConfigChanged();
46 * Print out a kBacktrace. Useful when trying to understand why
47 * a dialog is popping up, without having to launch gdb
49 Q_SCRIPTABLE
void printBacktrace();