~ubuntu-branches/ubuntu/lucid/kdebase/lucid

« back to all changes in this revision

Viewing changes to kdebugdialog/kdebugdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Ana Beatriz Guerrero Lopez
  • Date: 2009-04-05 05:22:13 UTC
  • mfrom: (0.4.2 experimental) (0.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 235.
  • Revision ID: james.westby@ubuntu.com-20090405052213-39thr4l6p2ss07uj
Tags: 4:4.2.2-1
* New upstream release:
  - khtml fixes. (Closes: #290285, #359680)
  - Default konsole sessions can be deleted. (Closes: #286342)
  - Tag widget uses standard application palette. (Closes: #444800)
  - ... and surely many more but we have lost track...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of the KDE libraries
2
 
    Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org)
3
 
 
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.
8
 
 
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.
13
 
 
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.
18
 
*/
19
 
#ifndef _KDEBUGDIALOG
20
 
#define _KDEBUGDIALOG
21
 
 
22
 
#include "kabstractdebugdialog.h"
23
 
 
24
 
class QLineEdit;
25
 
class QComboBox;
26
 
class QLabel;
27
 
class QGroupBox;
28
 
class QCheckBox;
29
 
class QPushButton;
30
 
 
31
 
class KConfig;
32
 
 
33
 
/**
34
 
 * Control debug/warning/error/fatal output of KDE applications
35
 
 *
36
 
 * This dialog allows control of debugging output for all KDE apps.
37
 
 *
38
 
 * @author Kalle Dalheimer (kalle@kde.org)
39
 
 */
40
 
class KDebugDialog : public KAbstractDebugDialog
41
 
{
42
 
  Q_OBJECT
43
 
 
44
 
public:
45
 
  KDebugDialog( QStringList areaList, QWidget *parent=0, const char *name=0, bool modal=true );
46
 
  virtual ~KDebugDialog();
47
 
 
48
 
  void save();
49
 
 
50
 
protected slots:
51
 
  void slotDebugAreaChanged( const QString & );
52
 
  void slotDestinationChanged(int);
53
 
 
54
 
private:
55
 
  QComboBox* pDebugAreas;
56
 
  QGroupBox* pInfoGroup;
57
 
  QLabel* pInfoLabel1;
58
 
  QComboBox* pInfoCombo;
59
 
  QLabel* pInfoLabel2;
60
 
  QLineEdit* pInfoFile;
61
 
  QLabel* pInfoLabel3;
62
 
  QLineEdit* pInfoShow;
63
 
  QGroupBox* pWarnGroup;
64
 
  QLabel* pWarnLabel1;
65
 
  QComboBox* pWarnCombo;
66
 
  QLabel* pWarnLabel2;
67
 
  QLineEdit* pWarnFile;
68
 
  QLabel* pWarnLabel3;
69
 
  QLineEdit* pWarnShow;
70
 
  QGroupBox* pErrorGroup;
71
 
  QLabel* pErrorLabel1;
72
 
  QComboBox* pErrorCombo;
73
 
  QLabel* pErrorLabel2;
74
 
  QLineEdit* pErrorFile;
75
 
  QLabel* pErrorLabel3;
76
 
  QLineEdit* pErrorShow;
77
 
  QGroupBox* pFatalGroup;
78
 
  QLabel* pFatalLabel1;
79
 
  QComboBox* pFatalCombo;
80
 
  QLabel* pFatalLabel2;
81
 
  QLineEdit* pFatalFile;
82
 
  QLabel* pFatalLabel3;
83
 
  QLineEdit* pFatalShow;
84
 
 
85
 
  QCheckBox* pAbortFatal;
86
 
 
87
 
private:
88
 
  // Disallow assignment and copy-construction
89
 
  KDebugDialog( const KDebugDialog& );
90
 
  KDebugDialog& operator= ( const KDebugDialog& );
91
 
};
92
 
 
93
 
#endif