Diffstat (limited to 'noncore/settings/networksettings/ppp/general.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/general.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/settings/networksettings/ppp/general.h b/noncore/settings/networksettings/ppp/general.h index 4869f6c..3e59b46 100644 --- a/noncore/settings/networksettings/ppp/general.h +++ b/noncore/settings/networksettings/ppp/general.h | |||
@@ -25,74 +25,76 @@ | |||
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 | 30 | ||
31 | class QSlider; | 31 | class QSlider; |
32 | class QSpinBox; | 32 | class QSpinBox; |
33 | class QCombobox; | 33 | class QCombobox; |
34 | class QLabel; | 34 | class QLabel; |
35 | class QCheckBox; | 35 | class QCheckBox; |
36 | class QComboBox; | 36 | class QComboBox; |
37 | 37 | class PPPData; | |
38 | 38 | class InterfacePPP; | |
39 | 39 | ||
40 | class ModemWidget : public QWidget { | 40 | class ModemWidget : public QWidget { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | public: | 42 | public: |
43 | ModemWidget( QWidget *parent=0, const char *name=0 ); | 43 | ModemWidget( InterfacePPP*, QWidget *parent=0, const char *name=0 ); |
44 | 44 | ||
45 | private slots: | 45 | private slots: |
46 | void setmodemdc(int); | 46 | void setmodemdc(int); |
47 | void setflowcontrol(int); | 47 | void setflowcontrol(int); |
48 | void modemtimeoutchanged(int); | 48 | void modemtimeoutchanged(int); |
49 | void modemlockfilechanged(bool); | 49 | void modemlockfilechanged(bool); |
50 | void setenter(int); | 50 | void setenter(int); |
51 | void speed_selection(int); | 51 | void speed_selection(int); |
52 | 52 | ||
53 | private: | 53 | private: |
54 | QComboBox *enter; | 54 | QComboBox *enter; |
55 | /* QLabel *label1; */ | 55 | /* QLabel *label1; */ |
56 | /* QLabel *label2; */ | 56 | /* QLabel *label2; */ |
57 | /* QLabel *labeltmp; */ | 57 | /* QLabel *labeltmp; */ |
58 | /* QLabel *labelenter; */ | 58 | /* QLabel *labelenter; */ |
59 | QComboBox *modemdevice; | 59 | QComboBox *modemdevice; |
60 | QComboBox *flowcontrol; | 60 | QComboBox *flowcontrol; |
61 | 61 | ||
62 | QComboBox *baud_c; | 62 | QComboBox *baud_c; |
63 | QLabel *baud_label; | 63 | QLabel *baud_label; |
64 | 64 | ||
65 | QSpinBox *modemtimeout; | 65 | QSpinBox *modemtimeout; |
66 | QCheckBox *modemlockfile; | 66 | QCheckBox *modemlockfile; |
67 | InterfacePPP *_ifaceppp; | ||
67 | }; | 68 | }; |
68 | 69 | ||
69 | 70 | ||
70 | class ModemWidget2 : public QWidget { | 71 | class ModemWidget2 : public QWidget { |
71 | Q_OBJECT | 72 | Q_OBJECT |
72 | public: | 73 | public: |
73 | ModemWidget2( QWidget *parent=0, const char *name=0 ); | 74 | ModemWidget2( InterfacePPP*, QWidget *parent=0, const char *name=0 ); |
74 | 75 | ||
75 | private slots: | 76 | private slots: |
76 | void waitfordtchanged(bool); | 77 | void waitfordtchanged(bool); |
77 | void busywaitchanged(int); | 78 | void busywaitchanged(int); |
78 | // void use_cdline_toggled(bool); | 79 | // void use_cdline_toggled(bool); |
79 | void modemcmdsbutton(); | 80 | void modemcmdsbutton(); |
80 | // void terminal(); | 81 | // void terminal(); |
81 | void query_modem(); | 82 | void query_modem(); |
82 | void volumeChanged(int); | 83 | void volumeChanged(int); |
83 | 84 | ||
84 | private: | 85 | private: |
85 | QLabel *labeltmp; | 86 | QLabel *labeltmp; |
86 | QPushButton *modemcmds; | 87 | QPushButton *modemcmds; |
87 | QPushButton *modeminfo_button; | 88 | QPushButton *modeminfo_button; |
88 | // QPushButton *terminal_button; | 89 | // QPushButton *terminal_button; |
89 | // QFrame *fline; | 90 | // QFrame *fline; |
90 | QCheckBox *waitfordt; | 91 | QCheckBox *waitfordt; |
91 | QSpinBox *busywait; | 92 | QSpinBox *busywait; |
92 | QCheckBox *chkbox1; | 93 | QCheckBox *chkbox1; |
93 | QSlider *volume; | 94 | QSlider *volume; |
95 | InterfacePPP *_ifaceppp; | ||
94 | }; | 96 | }; |
95 | 97 | ||
96 | #endif | 98 | #endif |
97 | 99 | ||
98 | 100 | ||