3 * kPPP: A pppd front end for the KDE project
7 * Copyright (C) 1997 Bernd Johannes Wuebben
8 * wuebben@math.cornell.edu
11 * This program 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 program 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.
31 #include <qlineedit.h>
33 #include <q3groupbox.h>
35 #include <QFocusEvent>
36 #include <QResizeEvent>
38 class PWEntry
: public QWidget
{
44 PWEntry( QWidget
*parent
=0, const char *name
=0 );
48 void setPrompt(const QString
&);
52 void setEchoModeNormal();
53 void setEchoModePassword();
63 void resizeEvent(QResizeEvent
* qre
);
64 void focusInEvent( QFocusEvent
*);