1 /* This file is part of the KDE libraries
2 Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org)
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
22 #include "kabstractdebugdialog.h"
31 * Control debug/warning/error/fatal output of KDE applications
33 * This dialog allows control of debugging output for all KDE apps.
35 * @author Kalle Dalheimer (kalle@kde.org)
37 class KDebugDialog
: public KAbstractDebugDialog
42 explicit KDebugDialog( QStringList areaList
, QWidget
*parent
=0, const char *name
=0, bool modal
=true );
43 virtual ~KDebugDialog();
48 void slotDebugAreaChanged( const QString
& );
49 void slotDestinationChanged(int);
52 int mCurrentDebugArea
;
53 QComboBox
* pDebugAreas
;
54 QGroupBox
* pInfoGroup
;
56 QComboBox
* pInfoCombo
;
61 QGroupBox
* pWarnGroup
;
63 QComboBox
* pWarnCombo
;
68 QGroupBox
* pErrorGroup
;
70 QComboBox
* pErrorCombo
;
72 QLineEdit
* pErrorFile
;
74 QLineEdit
* pErrorShow
;
75 QGroupBox
* pFatalGroup
;
77 QComboBox
* pFatalCombo
;
79 QLineEdit
* pFatalFile
;
81 QLineEdit
* pFatalShow
;
83 QCheckBox
* pAbortFatal
;
86 // Disallow assignment and copy-construction
87 KDebugDialog( const KDebugDialog
& );
88 KDebugDialog
& operator= ( const KDebugDialog
& );