Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdargs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppdargs.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdargs.h b/noncore/settings/networksettings/ppp/pppdargs.h new file mode 100644 index 0000000..c1cd28d --- a/dev/null +++ b/noncore/settings/networksettings/ppp/pppdargs.h | |||
@@ -0,0 +1,76 @@ | |||
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., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
26 | */ | ||
27 | |||
28 | #ifndef _PPPDARGS_H_ | ||
29 | #define _PPPDARGS_H_ | ||
30 | |||
31 | #include <qdialog.h> | ||
32 | #include <qlineedit.h> | ||
33 | #include <qpushbutton.h> | ||
34 | #include <qlistbox.h> | ||
35 | #include <qlabel.h> | ||
36 | |||
37 | class PPPdArguments : public QDialog { | ||
38 | Q_OBJECT | ||
39 | public: | ||
40 | PPPdArguments(QWidget *parent=0, const char *name=0); | ||
41 | ~PPPdArguments() {} | ||
42 | |||
43 | private slots: | ||
44 | void addbutton(); | ||
45 | void removebutton(); | ||
46 | void defaultsbutton(); | ||
47 | void closebutton(); | ||
48 | void textChanged(const QString &); | ||
49 | void itemSelected(int); | ||
50 | |||
51 | private: | ||
52 | void init(); | ||
53 | |||
54 | QLabel *argument_label; | ||
55 | |||
56 | QLineEdit *argument; | ||
57 | |||
58 | QPushButton *add; | ||
59 | QPushButton *remove; | ||
60 | QPushButton *defaults; | ||
61 | |||
62 | QListBox *arguments; | ||
63 | |||
64 | QPushButton *closebtn; | ||
65 | }; | ||
66 | #endif | ||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 | |||
74 | |||
75 | |||
76 | |||