Diffstat (limited to 'noncore/settings/networksettings/ppp/general.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/general.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/noncore/settings/networksettings/ppp/general.h b/noncore/settings/networksettings/ppp/general.h index 66a9eec..4869f6c 100644 --- a/noncore/settings/networksettings/ppp/general.h +++ b/noncore/settings/networksettings/ppp/general.h | |||
@@ -14,87 +14,85 @@ | |||
14 | * version 2 of the License, or (at your option) any later version. | 14 | * version 2 of the License, or (at your option) any later version. |
15 | * | 15 | * |
16 | * This program is distributed in the hope that it will be useful, | 16 | * This program is distributed in the hope that it will be useful, |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
19 | * Library General Public License for more details. | 19 | * Library General Public License for more details. |
20 | * | 20 | * |
21 | * You should have received a copy of the GNU Library General Public | 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 | 22 | * License along with this program; if not, write to the Free |
23 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 23 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifndef _GENERAL_H_ | 26 | #ifndef _GENERAL_H_ |
27 | #define _GENERAL_H_ | 27 | #define _GENERAL_H_ |
28 | 28 | ||
29 | #include <qwidget.h> | 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 | 30 | ||
37 | class QSlider; | 31 | class QSlider; |
38 | class KIntNumInput; | 32 | class QSpinBox; |
33 | class QCombobox; | ||
34 | class QLabel; | ||
35 | class QCheckBox; | ||
36 | class QComboBox; | ||
39 | 37 | ||
40 | 38 | ||
41 | 39 | ||
42 | class ModemWidget : public QWidget { | 40 | class ModemWidget : public QWidget { |
43 | Q_OBJECT | 41 | Q_OBJECT |
44 | public: | 42 | public: |
45 | ModemWidget( QWidget *parent=0, const char *name=0 ); | 43 | ModemWidget( QWidget *parent=0, const char *name=0 ); |
46 | 44 | ||
47 | private slots: | 45 | private slots: |
48 | void setmodemdc(int); | 46 | void setmodemdc(int); |
49 | void setflowcontrol(int); | 47 | void setflowcontrol(int); |
50 | void modemtimeoutchanged(int); | 48 | void modemtimeoutchanged(int); |
51 | void modemlockfilechanged(bool); | 49 | void modemlockfilechanged(bool); |
52 | void setenter(int); | 50 | void setenter(int); |
53 | void speed_selection(int); | 51 | void speed_selection(int); |
54 | 52 | ||
55 | private: | 53 | private: |
56 | QComboBox *enter; | 54 | QComboBox *enter; |
57 | QLabel *label1; | 55 | /* QLabel *label1; */ |
58 | QLabel *label2; | 56 | /* QLabel *label2; */ |
59 | QLabel *labeltmp; | 57 | /* QLabel *labeltmp; */ |
60 | QLabel *labelenter; | 58 | /* QLabel *labelenter; */ |
61 | QComboBox *modemdevice; | 59 | QComboBox *modemdevice; |
62 | QComboBox *flowcontrol; | 60 | QComboBox *flowcontrol; |
63 | 61 | ||
64 | QComboBox *baud_c; | 62 | QComboBox *baud_c; |
65 | QLabel *baud_label; | 63 | QLabel *baud_label; |
66 | 64 | ||
67 | KIntNumInput *modemtimeout; | 65 | QSpinBox *modemtimeout; |
68 | QCheckBox *modemlockfile; | 66 | QCheckBox *modemlockfile; |
69 | }; | 67 | }; |
70 | 68 | ||
71 | 69 | ||
72 | class ModemWidget2 : public QWidget { | 70 | class ModemWidget2 : public QWidget { |
73 | Q_OBJECT | 71 | Q_OBJECT |
74 | public: | 72 | public: |
75 | ModemWidget2( QWidget *parent=0, const char *name=0 ); | 73 | ModemWidget2( QWidget *parent=0, const char *name=0 ); |
76 | 74 | ||
77 | private slots: | 75 | private slots: |
78 | void waitfordtchanged(bool); | 76 | void waitfordtchanged(bool); |
79 | void busywaitchanged(int); | 77 | void busywaitchanged(int); |
80 | // void use_cdline_toggled(bool); | 78 | // void use_cdline_toggled(bool); |
81 | void modemcmdsbutton(); | 79 | void modemcmdsbutton(); |
82 | // void terminal(); | 80 | // void terminal(); |
83 | void query_modem(); | 81 | void query_modem(); |
84 | void volumeChanged(int); | 82 | void volumeChanged(int); |
85 | 83 | ||
86 | private: | 84 | private: |
87 | QLabel *labeltmp; | 85 | QLabel *labeltmp; |
88 | QPushButton *modemcmds; | 86 | QPushButton *modemcmds; |
89 | QPushButton *modeminfo_button; | 87 | QPushButton *modeminfo_button; |
90 | // QPushButton *terminal_button; | 88 | // QPushButton *terminal_button; |
91 | QFrame *fline; | 89 | // QFrame *fline; |
92 | QCheckBox *waitfordt; | 90 | QCheckBox *waitfordt; |
93 | KIntNumInput *busywait; | 91 | QSpinBox *busywait; |
94 | QCheckBox *chkbox1; | 92 | QCheckBox *chkbox1; |
95 | QSlider *volume; | 93 | QSlider *volume; |
96 | }; | 94 | }; |
97 | 95 | ||
98 | #endif | 96 | #endif |
99 | 97 | ||
100 | 98 | ||