delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / kdebugdialog / kdebugdialog.h
blobbea36f48025c6a6c5d5f06454a60ea1fe160c2b9
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.
19 #ifndef _KDEBUGDIALOG
20 #define _KDEBUGDIALOG
22 #include "kabstractdebugdialog.h"
24 class QLineEdit;
25 class QComboBox;
26 class QLabel;
27 class QGroupBox;
28 class QCheckBox;
30 /**
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
39 Q_OBJECT
41 public:
42 explicit KDebugDialog( QStringList areaList, QWidget *parent=0, const char *name=0, bool modal=true );
43 virtual ~KDebugDialog();
45 void save();
47 protected Q_SLOTS:
48 void slotDebugAreaChanged( const QString & );
49 void slotDestinationChanged(int);
51 private:
52 int mCurrentDebugArea;
53 QComboBox* pDebugAreas;
54 QGroupBox* pInfoGroup;
55 QLabel* pInfoLabel1;
56 QComboBox* pInfoCombo;
57 QLabel* pInfoLabel2;
58 QLineEdit* pInfoFile;
59 QLabel* pInfoLabel3;
60 QLineEdit* pInfoShow;
61 QGroupBox* pWarnGroup;
62 QLabel* pWarnLabel1;
63 QComboBox* pWarnCombo;
64 QLabel* pWarnLabel2;
65 QLineEdit* pWarnFile;
66 QLabel* pWarnLabel3;
67 QLineEdit* pWarnShow;
68 QGroupBox* pErrorGroup;
69 QLabel* pErrorLabel1;
70 QComboBox* pErrorCombo;
71 QLabel* pErrorLabel2;
72 QLineEdit* pErrorFile;
73 QLabel* pErrorLabel3;
74 QLineEdit* pErrorShow;
75 QGroupBox* pFatalGroup;
76 QLabel* pFatalLabel1;
77 QComboBox* pFatalCombo;
78 QLabel* pFatalLabel2;
79 QLineEdit* pFatalFile;
80 QLabel* pFatalLabel3;
81 QLineEdit* pFatalShow;
83 QCheckBox* pAbortFatal;
85 private:
86 // Disallow assignment and copy-construction
87 KDebugDialog( const KDebugDialog& );
88 KDebugDialog& operator= ( const KDebugDialog& );
91 #endif