KDELibs4Support

kdebugdialog.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 1997 Matthias Kalle Dalheimer ([email protected])
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 #include "ui_kdebugdialog.h"
25 
26 class QLineEdit;
27 class QComboBox;
28 class QLabel;
29 class QGroupBox;
30 class QCheckBox;
31 
39 class KDebugDialog : public KAbstractDebugDialog, public Ui_KDebugDialog
40 {
41  Q_OBJECT
42 
43 public:
44  KDELIBS4SUPPORT_DEPRECATED explicit KDebugDialog(const AreaMap& areaMap, QWidget *parent = nullptr);
45  virtual ~KDebugDialog();
46 
47  void doLoad() override {}
48  void doSave() override;
49 
50 protected Q_SLOTS:
51  void slotDebugAreaChanged(QTreeWidgetItem*);
52  void slotDestinationChanged();
53  void disableAllClicked();
54 
55 private:
56  void showArea(const QString& areaName);
57 
58  QString mCurrentDebugArea;
59 
60 private:
61  // Disallow assignment and copy-construction
62  KDebugDialog( const KDebugDialog& );
63  KDebugDialog& operator= ( const KDebugDialog& );
64 };
65 
66 #endif
Q_OBJECTQ_OBJECT
Control debug/warning/error/fatal output of KDE applications.
Definition: kdebugdialog.h:39
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 13 2020 22:58:29 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.