summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/debug.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/debug.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/debug.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/noncore/settings/networksettings/ppp/debug.h b/noncore/settings/networksettings/ppp/debug.h
deleted file mode 100644
index 3565cec..0000000
--- a/noncore/settings/networksettings/ppp/debug.h
+++ b/dev/null
@@ -1,70 +0,0 @@
1/*
2 * kPPP: A pppd front end for the KDE project
3 *
4 * $Id$
5 * Copyright (C) 1997 Bernd Wuebben
6 * wuebben@math.cornel.edu
7 *
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 */
23
24#ifndef _DEBUGWIDGET_
25#define _DEBUGWIDGET_
26
27#include <qdialog.h>
28#include <qstring.h>
29#include <qlabel.h>
30#include <qmultilineedit.h>
31#include <qpushbutton.h>
32
33
34class myMultiEdit : public QMultiLineEdit {
35public:
36
37 myMultiEdit(QWidget *parent=0, const char *name=0);
38
39 void newLine();
40 void insertChar(unsigned char c);
41};
42
43
44class DebugWidget : public QDialog {
45 Q_OBJECT
46public:
47 DebugWidget(QWidget *parent=0, const char *name=0);
48
49 void clear();
50
51public slots:
52 void statusLabel(const QString &);
53 void toggleVisibility();
54 void addChar(unsigned char);
55
56protected:
57 virtual void hideEvent(QHideEvent *);
58 virtual void resizeEvent(QResizeEvent *e);
59
60private:
61 void enter();
62 QFrame *fline;
63 QPushButton *dismiss;
64 myMultiEdit *text_window;
65
66 QLabel *statuslabel;
67};
68
69#endif
70