1/*
2 * kPPP: A pppd front end for the KDE project
3 *
4 * $Id$
5 *
6 * Copyright (C) 1997 Bernd Johannes Wuebben
7 * wuebben@math.cornell.edu
8 *
9 * based on EzPPP:
10 * Copyright (C) 1997 Jay Painter
11 *
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Library General Public License for more details.
22 *
23 * You should have received a copy of the GNU Library General Public
24 * License along with this program; if not, write to the Free
25 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27
28#ifndef _PPPDARGS_H_
29#define _PPPDARGS_H_
30
31#include <kdialog.h>
32//Added by qt3to4:
33#include <QLabel>
34
35class Q3ListBox;
36class QLabel;
37class QPushButton;
38class QLineEdit;
39class KPushButton;
40
41
42class PPPdArguments : public KDialog {
43Q_OBJECT
44public:
45 explicit PPPdArguments(QWidget *parent=0, const char *name=0);
46 ~PPPdArguments() {}
47
48private slots:
49 void addbutton();
50 void removebutton();
51 void defaultsbutton();
52 void closebutton();
53 void textChanged(const QString &);
54 void itemSelected(int);
55
56private:
57 void init();
58
59 QLabel *argument_label;
60
61 QLineEdit *argument;
62
63 QPushButton *add;
64 QPushButton *remove;
65 KPushButton *defaults;
66
67 Q3ListBox *arguments;
68
69 QPushButton *closebtn;
70};
71#endif
72
73
74
75
76
77
78
79
80
81
82