author | tille <tille> | 2003-05-23 19:43:46 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-23 19:43:46 (UTC) |
commit | 9b6b21112f38181f49b07e973bfe00c0d83a6900 (patch) (unidiff) | |
tree | c2fa45a93ac5c26fe98558f28bb0a166b14ad065 /noncore/settings/networksettings/ppp/general.h | |
parent | 34b9974063032242e5de65fa56d4c2cb5e1ce565 (diff) | |
download | opie-9b6b21112f38181f49b07e973bfe00c0d83a6900.zip opie-9b6b21112f38181f49b07e973bfe00c0d83a6900.tar.gz opie-9b6b21112f38181f49b07e973bfe00c0d83a6900.tar.bz2 |
configure dialog basicly working
more kppp stuff... ;)
Diffstat (limited to 'noncore/settings/networksettings/ppp/general.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/general.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/general.h b/noncore/settings/networksettings/ppp/general.h new file mode 100644 index 0000000..66a9eec --- a/dev/null +++ b/noncore/settings/networksettings/ppp/general.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* | ||
2 | * | ||
3 | * kPPP: A pppd front end for the KDE project | ||
4 | * | ||
5 | * $Id$ | ||
6 | * | ||
7 | * Copyright (C) 1997 Bernd Johannes Wuebben | ||
8 | * wuebben@math.cornell.edu | ||
9 | * | ||
10 | * | ||
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. | ||
15 | * | ||
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. | ||
20 | * | ||
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., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
24 | */ | ||
25 | |||
26 | #ifndef _GENERAL_H_ | ||
27 | #define _GENERAL_H_ | ||
28 | |||
29 | #include <qwidget.h> | ||
30 | #include <qcombobox.h> | ||
31 | #include <qlabel.h> | ||
32 | #include <qcheckbox.h> | ||
33 | #include <qgroupbox.h> | ||
34 | #include <qpushbutton.h> | ||
35 | //#include <kcolorbutton.h> | ||
36 | |||
37 | class QSlider; | ||
38 | class KIntNumInput; | ||
39 | |||
40 | |||
41 | |||
42 | class ModemWidget : public QWidget { | ||
43 | Q_OBJECT | ||
44 | public: | ||
45 | ModemWidget( QWidget *parent=0, const char *name=0 ); | ||
46 | |||
47 | private slots: | ||
48 | void setmodemdc(int); | ||
49 | void setflowcontrol(int); | ||
50 | void modemtimeoutchanged(int); | ||
51 | void modemlockfilechanged(bool); | ||
52 | void setenter(int); | ||
53 | void speed_selection(int); | ||
54 | |||
55 | private: | ||
56 | QComboBox *enter; | ||
57 | QLabel *label1; | ||
58 | QLabel *label2; | ||
59 | QLabel *labeltmp; | ||
60 | QLabel *labelenter; | ||
61 | QComboBox *modemdevice; | ||
62 | QComboBox *flowcontrol; | ||
63 | |||
64 | QComboBox *baud_c; | ||
65 | QLabel *baud_label; | ||
66 | |||
67 | KIntNumInput *modemtimeout; | ||
68 | QCheckBox *modemlockfile; | ||
69 | }; | ||
70 | |||
71 | |||
72 | class ModemWidget2 : public QWidget { | ||
73 | Q_OBJECT | ||
74 | public: | ||
75 | ModemWidget2( QWidget *parent=0, const char *name=0 ); | ||
76 | |||
77 | private slots: | ||
78 | void waitfordtchanged(bool); | ||
79 | void busywaitchanged(int); | ||
80 | // void use_cdline_toggled(bool); | ||
81 | void modemcmdsbutton(); | ||
82 | // void terminal(); | ||
83 | void query_modem(); | ||
84 | void volumeChanged(int); | ||
85 | |||
86 | private: | ||
87 | QLabel *labeltmp; | ||
88 | QPushButton *modemcmds; | ||
89 | QPushButton *modeminfo_button; | ||
90 | // QPushButton *terminal_button; | ||
91 | QFrame *fline; | ||
92 | QCheckBox *waitfordt; | ||
93 | KIntNumInput *busywait; | ||
94 | QCheckBox *chkbox1; | ||
95 | QSlider *volume; | ||
96 | }; | ||
97 | |||
98 | #endif | ||
99 | |||
100 | |||