author | tille <tille> | 2003-05-30 15:06:17 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-30 15:06:17 (UTC) |
commit | 8699d02f6c152afed9490e7e7a4315044261e6e8 (patch) (unidiff) | |
tree | d2ee2ba401c7a9db0e33beaf0617a1456fe01d50 /noncore/settings/networksettings/ppp/connect.h | |
parent | d8cec07fe5e54a68afe4feca574f9f4d2433e0c1 (diff) | |
download | opie-8699d02f6c152afed9490e7e7a4315044261e6e8.zip opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.gz opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.bz2 |
modem and pppdata is now member of interfaceppp
Diffstat (limited to 'noncore/settings/networksettings/ppp/connect.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/connect.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/settings/networksettings/ppp/connect.h b/noncore/settings/networksettings/ppp/connect.h index 3127236..e7ae5e0 100644 --- a/noncore/settings/networksettings/ppp/connect.h +++ b/noncore/settings/networksettings/ppp/connect.h | |||
@@ -33,23 +33,23 @@ | |||
33 | #include <qpushbutton.h> | 33 | #include <qpushbutton.h> |
34 | #include <qlabel.h> | 34 | #include <qlabel.h> |
35 | #include <qevent.h> | 35 | #include <qevent.h> |
36 | 36 | ||
37 | #include "kpppconfig.h" | 37 | #include "kpppconfig.h" |
38 | #include "pwentry.h" | 38 | #include "pwentry.h" |
39 | //#include "docking.h" | 39 | |
40 | //#include "loginterm.h" | ||
41 | 40 | ||
42 | #define MAXLOOPNEST (MAX_SCRIPT_ENTRIES/2) | 41 | #define MAXLOOPNEST (MAX_SCRIPT_ENTRIES/2) |
43 | 42 | ||
44 | class PPPStats; | 43 | class InterfacePPP; |
44 | class PPPData; | ||
45 | 45 | ||
46 | class ConnectWidget : public QWidget { | 46 | class ConnectWidget : public QWidget { |
47 | Q_OBJECT | 47 | Q_OBJECT |
48 | public: | 48 | public: |
49 | ConnectWidget(QWidget *parent, const char *name); | 49 | ConnectWidget(InterfacePPP*, QWidget *parent, const char *name); |
50 | ~ConnectWidget(); | 50 | ~ConnectWidget(); |
51 | 51 | ||
52 | public: | 52 | public: |
53 | void set_con_speed_string(); | 53 | void set_con_speed_string(); |
54 | void setMsg(const QString &); | 54 | void setMsg(const QString &); |
55 | void pppdDied(); | 55 | void pppdDied(); |
@@ -133,20 +133,20 @@ private: | |||
133 | 133 | ||
134 | bool firstrunID; | 134 | bool firstrunID; |
135 | bool firstrunPW; | 135 | bool firstrunPW; |
136 | 136 | ||
137 | unsigned int dialnumber; // the current number to dial | 137 | unsigned int dialnumber; // the current number to dial |
138 | 138 | ||
139 | // PPPStats *stats; | 139 | InterfacePPP *_ifaceppp; |
140 | }; | 140 | }; |
141 | 141 | ||
142 | 142 | ||
143 | // non-member function to kill&wait on the pppd child process | 143 | // non-member function to kill&wait on the pppd child process |
144 | extern void killppp(); | 144 | extern void killppp(PPPData*); |
145 | void adddns(); | 145 | void adddns(InterfacePPP*); |
146 | void addpeerdns(); | 146 | void addpeerdns(InterfacePPP*); |
147 | void removedns(); | 147 | void removedns(InterfacePPP*); |
148 | void add_domain(const QString & newdomain); | 148 | void add_domain(const QString & newdomain, InterfacePPP*); |
149 | void auto_hostname(); | 149 | void auto_hostname(InterfacePPP*); |
150 | 150 | ||
151 | #endif | 151 | #endif |
152 | 152 | ||