3 * kPPP: A front end for pppd for the KDE project
7 * Copyright (C) 1997 Bernd Johannes Wuebben
8 * wuebben@math.cornell.edu
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
21 * You should have received a copy of the GNU Library General Public
22 * License along with this program; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34 #include <q3multilineedit.h>
39 #include <QCloseEvent>
51 class MyTerm
: public Q3MultiLineEdit
{
54 explicit MyTerm(QWidget
*parent
=0, const char *name
=0);
56 void keyPressEvent (QKeyEvent
*);
57 void insertChar(unsigned char c
);
66 class MiniTerm
: public QDialog
{
70 explicit MiniTerm(QWidget
*parent
=0, const char *name
=0);
73 void closeEvent( QCloseEvent
*e
);
78 void readChar(unsigned char);