summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/ppp/ppp.pro12
-rw-r--r--noncore/net/networksetup/ppp/ppp.ui20
-rw-r--r--noncore/net/networksetup/ppp/pppimp.cpp4
-rw-r--r--noncore/net/networksetup/ppp/pppimp.h17
-rw-r--r--noncore/net/networksetup/ppp/pppmodule.cpp104
-rw-r--r--noncore/net/networksetup/ppp/pppmodule.h41
-rw-r--r--noncore/settings/networksettings/ppp/ppp.pro12
-rw-r--r--noncore/settings/networksettings/ppp/ppp.ui20
-rw-r--r--noncore/settings/networksettings/ppp/pppimp.cpp4
-rw-r--r--noncore/settings/networksettings/ppp/pppimp.h17
-rw-r--r--noncore/settings/networksettings/ppp/pppmodule.cpp104
-rw-r--r--noncore/settings/networksettings/ppp/pppmodule.h41
12 files changed, 376 insertions, 20 deletions
diff --git a/noncore/net/networksetup/ppp/ppp.pro b/noncore/net/networksetup/ppp/ppp.pro
new file mode 100644
index 0000000..075cc5f
--- a/dev/null
+++ b/noncore/net/networksetup/ppp/ppp.pro
@@ -0,0 +1,12 @@
1TEMPLATE = lib
2CONFIG += qt warn_on release
3 #CONFIG += qt warn_on debug
4DESTDIR = $(OPIEDIR)/plugins/networksetup
5 HEADERS = pppimp.h pppmodule.h
6 SOURCES = pppimp.cpp pppmodule.cpp
7 INCLUDEPATH+= $(OPIEDIR)/include ../ ../interfaces/
8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe -L../interfaces/ -linterfaces
10 INTERFACES= ppp.ui
11 TARGET = pppplugin
12 VERSION = 1.0.0
diff --git a/noncore/net/networksetup/ppp/ppp.ui b/noncore/net/networksetup/ppp/ppp.ui
index d08eda0..67d6735 100644
--- a/noncore/net/networksetup/ppp/ppp.ui
+++ b/noncore/net/networksetup/ppp/ppp.ui
@@ -1,770 +1,770 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>DialupBase</class> 2<class>PPP</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>Form1</cstring> 7 <cstring>PPP</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>273</width> 14 <width>277</width>
15 <height>340</height> 15 <height>340</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>Dial-up </string> 20 <string>Dial-up </string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
27 </property> 27 </property>
28 <vbox> 28 <vbox>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>1</number> 31 <number>1</number>
32 </property> 32 </property>
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>0</number> 35 <number>0</number>
36 </property> 36 </property>
37 <widget> 37 <widget>
38 <class>QTabWidget</class> 38 <class>QTabWidget</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>TabWidget2</cstring> 41 <cstring>TabWidget2</cstring>
42 </property> 42 </property>
43 <property> 43 <property>
44 <name>layoutMargin</name> 44 <name>layoutMargin</name>
45 </property> 45 </property>
46 <property> 46 <property>
47 <name>layoutSpacing</name> 47 <name>layoutSpacing</name>
48 </property> 48 </property>
49 <widget> 49 <widget>
50 <class>QWidget</class> 50 <class>QWidget</class>
51 <property stdset="1"> 51 <property stdset="1">
52 <name>name</name> 52 <name>name</name>
53 <cstring>tab</cstring> 53 <cstring>tab</cstring>
54 </property> 54 </property>
55 <attribute> 55 <attribute>
56 <name>title</name> 56 <name>title</name>
57 <string>Account</string> 57 <string>Account</string>
58 </attribute> 58 </attribute>
59 <grid> 59 <grid>
60 <property stdset="1"> 60 <property stdset="1">
61 <name>margin</name> 61 <name>margin</name>
62 <number>6</number> 62 <number>6</number>
63 </property> 63 </property>
64 <property stdset="1"> 64 <property stdset="1">
65 <name>spacing</name> 65 <name>spacing</name>
66 <number>4</number> 66 <number>4</number>
67 </property> 67 </property>
68 <widget row="3" column="1" > 68 <widget row="3" column="1" >
69 <class>QLineEdit</class> 69 <class>QLineEdit</class>
70 <property stdset="1"> 70 <property stdset="1">
71 <name>name</name> 71 <name>name</name>
72 <cstring>password</cstring> 72 <cstring>password</cstring>
73 </property> 73 </property>
74 <property stdset="1"> 74 <property stdset="1">
75 <name>echoMode</name> 75 <name>echoMode</name>
76 <enum>Password</enum> 76 <enum>Password</enum>
77 </property> 77 </property>
78 </widget> 78 </widget>
79 <widget row="2" column="1" > 79 <widget row="2" column="1" >
80 <class>QLineEdit</class> 80 <class>QLineEdit</class>
81 <property stdset="1"> 81 <property stdset="1">
82 <name>name</name> 82 <name>name</name>
83 <cstring>username</cstring> 83 <cstring>username</cstring>
84 </property> 84 </property>
85 </widget> 85 </widget>
86 <widget row="2" column="0" > 86 <widget row="2" column="0" >
87 <class>QLabel</class> 87 <class>QLabel</class>
88 <property stdset="1"> 88 <property stdset="1">
89 <name>name</name> 89 <name>name</name>
90 <cstring>TextLabel1</cstring> 90 <cstring>TextLabel1</cstring>
91 </property> 91 </property>
92 <property stdset="1"> 92 <property stdset="1">
93 <name>text</name> 93 <name>text</name>
94 <string>Username</string> 94 <string>Username</string>
95 </property> 95 </property>
96 </widget> 96 </widget>
97 <widget row="3" column="0" > 97 <widget row="3" column="0" >
98 <class>QLabel</class> 98 <class>QLabel</class>
99 <property stdset="1"> 99 <property stdset="1">
100 <name>name</name> 100 <name>name</name>
101 <cstring>TextLabel2</cstring> 101 <cstring>TextLabel2</cstring>
102 </property> 102 </property>
103 <property stdset="1"> 103 <property stdset="1">
104 <name>text</name> 104 <name>text</name>
105 <string>Password</string> 105 <string>Password</string>
106 </property> 106 </property>
107 </widget> 107 </widget>
108 <widget row="5" column="0" > 108 <widget row="5" column="0" >
109 <class>QLabel</class> 109 <class>QLabel</class>
110 <property stdset="1"> 110 <property stdset="1">
111 <name>name</name> 111 <name>name</name>
112 <cstring>TextLabel1_2_2</cstring> 112 <cstring>TextLabel1_2_2</cstring>
113 </property> 113 </property>
114 <property stdset="1"> 114 <property stdset="1">
115 <name>text</name> 115 <name>text</name>
116 <string>Phone #</string> 116 <string>Phone #</string>
117 </property> 117 </property>
118 </widget> 118 </widget>
119 <widget row="5" column="1" > 119 <widget row="5" column="1" >
120 <class>QLineEdit</class> 120 <class>QLineEdit</class>
121 <property stdset="1"> 121 <property stdset="1">
122 <name>name</name> 122 <name>name</name>
123 <cstring>phone</cstring> 123 <cstring>phone</cstring>
124 </property> 124 </property>
125 </widget> 125 </widget>
126 <widget row="4" column="0" rowspan="1" colspan="2" > 126 <widget row="4" column="0" rowspan="1" colspan="2" >
127 <class>Line</class> 127 <class>Line</class>
128 <property stdset="1"> 128 <property stdset="1">
129 <name>name</name> 129 <name>name</name>
130 <cstring>Line3</cstring> 130 <cstring>Line3</cstring>
131 </property> 131 </property>
132 <property stdset="1"> 132 <property stdset="1">
133 <name>orientation</name> 133 <name>orientation</name>
134 <enum>Horizontal</enum> 134 <enum>Horizontal</enum>
135 </property> 135 </property>
136 </widget> 136 </widget>
137 <widget row="0" column="1" > 137 <widget row="0" column="1" >
138 <class>QLineEdit</class> 138 <class>QLineEdit</class>
139 <property stdset="1"> 139 <property stdset="1">
140 <name>name</name> 140 <name>name</name>
141 <cstring>acname</cstring> 141 <cstring>acname</cstring>
142 </property> 142 </property>
143 </widget> 143 </widget>
144 <widget row="0" column="0" > 144 <widget row="0" column="0" >
145 <class>QLabel</class> 145 <class>QLabel</class>
146 <property stdset="1"> 146 <property stdset="1">
147 <name>name</name> 147 <name>name</name>
148 <cstring>TextLabel1_2</cstring> 148 <cstring>TextLabel1_2</cstring>
149 </property> 149 </property>
150 <property stdset="1"> 150 <property stdset="1">
151 <name>text</name> 151 <name>text</name>
152 <string>Name</string> 152 <string>Name</string>
153 </property> 153 </property>
154 </widget> 154 </widget>
155 <widget row="1" column="0" rowspan="1" colspan="2" > 155 <widget row="1" column="0" rowspan="1" colspan="2" >
156 <class>Line</class> 156 <class>Line</class>
157 <property stdset="1"> 157 <property stdset="1">
158 <name>name</name> 158 <name>name</name>
159 <cstring>Line4</cstring> 159 <cstring>Line4</cstring>
160 </property> 160 </property>
161 <property stdset="1"> 161 <property stdset="1">
162 <name>orientation</name> 162 <name>orientation</name>
163 <enum>Horizontal</enum> 163 <enum>Horizontal</enum>
164 </property> 164 </property>
165 </widget> 165 </widget>
166 <spacer row="9" column="1" > 166 <spacer row="9" column="1" >
167 <property> 167 <property>
168 <name>name</name> 168 <name>name</name>
169 <cstring>Spacer4</cstring> 169 <cstring>Spacer4</cstring>
170 </property> 170 </property>
171 <property stdset="1"> 171 <property stdset="1">
172 <name>orientation</name> 172 <name>orientation</name>
173 <enum>Vertical</enum> 173 <enum>Vertical</enum>
174 </property> 174 </property>
175 <property stdset="1"> 175 <property stdset="1">
176 <name>sizeType</name> 176 <name>sizeType</name>
177 <enum>Expanding</enum> 177 <enum>Expanding</enum>
178 </property> 178 </property>
179 <property> 179 <property>
180 <name>sizeHint</name> 180 <name>sizeHint</name>
181 <size> 181 <size>
182 <width>20</width> 182 <width>20</width>
183 <height>20</height> 183 <height>20</height>
184 </size> 184 </size>
185 </property> 185 </property>
186 </spacer> 186 </spacer>
187 </grid> 187 </grid>
188 </widget> 188 </widget>
189 <widget> 189 <widget>
190 <class>QWidget</class> 190 <class>QWidget</class>
191 <property stdset="1"> 191 <property stdset="1">
192 <name>name</name> 192 <name>name</name>
193 <cstring>tab</cstring> 193 <cstring>tab</cstring>
194 </property> 194 </property>
195 <attribute> 195 <attribute>
196 <name>title</name> 196 <name>title</name>
197 <string>Modem</string> 197 <string>Modem</string>
198 </attribute> 198 </attribute>
199 <grid> 199 <grid>
200 <property stdset="1"> 200 <property stdset="1">
201 <name>margin</name> 201 <name>margin</name>
202 <number>6</number> 202 <number>6</number>
203 </property> 203 </property>
204 <property stdset="1"> 204 <property stdset="1">
205 <name>spacing</name> 205 <name>spacing</name>
206 <number>4</number> 206 <number>4</number>
207 </property> 207 </property>
208 <widget row="0" column="0" > 208 <widget row="0" column="0" >
209 <class>QLabel</class> 209 <class>QLabel</class>
210 <property stdset="1"> 210 <property stdset="1">
211 <name>name</name> 211 <name>name</name>
212 <cstring>TextLabel3_2_2</cstring> 212 <cstring>TextLabel3_2_2</cstring>
213 </property> 213 </property>
214 <property stdset="1"> 214 <property stdset="1">
215 <name>text</name> 215 <name>text</name>
216 <string>AT-dial</string> 216 <string>AT-dial</string>
217 </property> 217 </property>
218 </widget> 218 </widget>
219 <widget row="0" column="1" rowspan="1" colspan="3" > 219 <widget row="0" column="1" rowspan="1" colspan="3" >
220 <class>QComboBox</class> 220 <class>QComboBox</class>
221 <item> 221 <item>
222 <property> 222 <property>
223 <name>text</name> 223 <name>text</name>
224 <string>ATDT</string> 224 <string>ATDT</string>
225 </property> 225 </property>
226 </item> 226 </item>
227 <item> 227 <item>
228 <property> 228 <property>
229 <name>text</name> 229 <name>text</name>
230 <string>ATDP</string> 230 <string>ATDP</string>
231 </property> 231 </property>
232 </item> 232 </item>
233 <property stdset="1"> 233 <property stdset="1">
234 <name>name</name> 234 <name>name</name>
235 <cstring>atdial</cstring> 235 <cstring>atdial</cstring>
236 </property> 236 </property>
237 <property stdset="1"> 237 <property stdset="1">
238 <name>editable</name> 238 <name>editable</name>
239 <bool>true</bool> 239 <bool>true</bool>
240 </property> 240 </property>
241 </widget> 241 </widget>
242 <widget row="1" column="0" > 242 <widget row="1" column="0" >
243 <class>QLabel</class> 243 <class>QLabel</class>
244 <property stdset="1"> 244 <property stdset="1">
245 <name>name</name> 245 <name>name</name>
246 <cstring>TextLabel1_4</cstring> 246 <cstring>TextLabel1_4</cstring>
247 </property> 247 </property>
248 <property stdset="1"> 248 <property stdset="1">
249 <name>text</name> 249 <name>text</name>
250 <string>Speed</string> 250 <string>Speed</string>
251 </property> 251 </property>
252 </widget> 252 </widget>
253 <widget row="1" column="1" rowspan="1" colspan="3" > 253 <widget row="1" column="1" rowspan="1" colspan="3" >
254 <class>QComboBox</class> 254 <class>QComboBox</class>
255 <item> 255 <item>
256 <property> 256 <property>
257 <name>text</name> 257 <name>text</name>
258 <string>4800</string> 258 <string>4800</string>
259 </property> 259 </property>
260 </item> 260 </item>
261 <item> 261 <item>
262 <property> 262 <property>
263 <name>text</name> 263 <name>text</name>
264 <string>9600</string> 264 <string>9600</string>
265 </property> 265 </property>
266 </item> 266 </item>
267 <item> 267 <item>
268 <property> 268 <property>
269 <name>text</name> 269 <name>text</name>
270 <string>19200</string> 270 <string>19200</string>
271 </property> 271 </property>
272 </item> 272 </item>
273 <item> 273 <item>
274 <property> 274 <property>
275 <name>text</name> 275 <name>text</name>
276 <string>38400</string> 276 <string>38400</string>
277 </property> 277 </property>
278 </item> 278 </item>
279 <item> 279 <item>
280 <property> 280 <property>
281 <name>text</name> 281 <name>text</name>
282 <string>57600</string> 282 <string>57600</string>
283 </property> 283 </property>
284 </item> 284 </item>
285 <item> 285 <item>
286 <property> 286 <property>
287 <name>text</name> 287 <name>text</name>
288 <string>115200</string> 288 <string>115200</string>
289 </property> 289 </property>
290 </item> 290 </item>
291 <property stdset="1"> 291 <property stdset="1">
292 <name>name</name> 292 <name>name</name>
293 <cstring>speed</cstring> 293 <cstring>speed</cstring>
294 </property> 294 </property>
295 <property stdset="1"> 295 <property stdset="1">
296 <name>currentItem</name> 296 <name>currentItem</name>
297 <number>5</number> 297 <number>5</number>
298 </property> 298 </property>
299 </widget> 299 </widget>
300 <widget row="3" column="1" > 300 <widget row="3" column="1" >
301 <class>QSlider</class> 301 <class>QSlider</class>
302 <property stdset="1"> 302 <property stdset="1">
303 <name>name</name> 303 <name>name</name>
304 <cstring>connectdelay</cstring> 304 <cstring>connectdelay</cstring>
305 </property> 305 </property>
306 <property stdset="1"> 306 <property stdset="1">
307 <name>minValue</name> 307 <name>minValue</name>
308 <number>1</number> 308 <number>1</number>
309 </property> 309 </property>
310 <property stdset="1"> 310 <property stdset="1">
311 <name>maxValue</name> 311 <name>maxValue</name>
312 <number>180</number> 312 <number>180</number>
313 </property> 313 </property>
314 <property stdset="1"> 314 <property stdset="1">
315 <name>value</name> 315 <name>value</name>
316 <number>6</number> 316 <number>6</number>
317 </property> 317 </property>
318 <property stdset="1"> 318 <property stdset="1">
319 <name>orientation</name> 319 <name>orientation</name>
320 <enum>Horizontal</enum> 320 <enum>Horizontal</enum>
321 </property> 321 </property>
322 </widget> 322 </widget>
323 <widget row="3" column="0" > 323 <widget row="3" column="0" >
324 <class>QLabel</class> 324 <class>QLabel</class>
325 <property stdset="1"> 325 <property stdset="1">
326 <name>name</name> 326 <name>name</name>
327 <cstring>TextLabel1_3</cstring> 327 <cstring>TextLabel1_3</cstring>
328 </property> 328 </property>
329 <property stdset="1"> 329 <property stdset="1">
330 <name>text</name> 330 <name>text</name>
331 <string>Wait time</string> 331 <string>Wait time</string>
332 </property> 332 </property>
333 </widget> 333 </widget>
334 <widget row="3" column="2" > 334 <widget row="3" column="2" >
335 <class>QLabel</class> 335 <class>QLabel</class>
336 <property stdset="1"> 336 <property stdset="1">
337 <name>name</name> 337 <name>name</name>
338 <cstring>connectdelay_text</cstring> 338 <cstring>connectdelay_text</cstring>
339 </property> 339 </property>
340 <property stdset="1"> 340 <property stdset="1">
341 <name>minimumSize</name> 341 <name>minimumSize</name>
342 <size> 342 <size>
343 <width>15</width> 343 <width>15</width>
344 <height>0</height> 344 <height>0</height>
345 </size> 345 </size>
346 </property> 346 </property>
347 <property stdset="1"> 347 <property stdset="1">
348 <name>text</name> 348 <name>text</name>
349 <string>1</string> 349 <string>6</string>
350 </property> 350 </property>
351 <property stdset="1"> 351 <property stdset="1">
352 <name>alignment</name> 352 <name>alignment</name>
353 <set>AlignVCenter|AlignRight</set> 353 <set>AlignVCenter|AlignRight</set>
354 </property> 354 </property>
355 <property> 355 <property>
356 <name>hAlign</name> 356 <name>hAlign</name>
357 </property> 357 </property>
358 </widget> 358 </widget>
359 <widget row="3" column="3" > 359 <widget row="3" column="3" >
360 <class>QLabel</class> 360 <class>QLabel</class>
361 <property stdset="1"> 361 <property stdset="1">
362 <name>name</name> 362 <name>name</name>
363 <cstring>TextLabel5</cstring> 363 <cstring>TextLabel5</cstring>
364 </property> 364 </property>
365 <property stdset="1"> 365 <property stdset="1">
366 <name>text</name> 366 <name>text</name>
367 <string>sec</string> 367 <string>sec</string>
368 </property> 368 </property>
369 </widget> 369 </widget>
370 <widget row="2" column="0" > 370 <widget row="2" column="0" >
371 <class>QLabel</class> 371 <class>QLabel</class>
372 <property stdset="1"> 372 <property stdset="1">
373 <name>name</name> 373 <name>name</name>
374 <cstring>TextLabel3</cstring> 374 <cstring>TextLabel3</cstring>
375 </property> 375 </property>
376 <property stdset="1"> 376 <property stdset="1">
377 <name>text</name> 377 <name>text</name>
378 <string>Flow control</string> 378 <string>Flow control</string>
379 </property> 379 </property>
380 </widget> 380 </widget>
381 <widget row="2" column="1" rowspan="1" colspan="3" > 381 <widget row="2" column="1" rowspan="1" colspan="3" >
382 <class>QCheckBox</class> 382 <class>QCheckBox</class>
383 <property stdset="1"> 383 <property stdset="1">
384 <name>name</name> 384 <name>name</name>
385 <cstring>crtscts</cstring> 385 <cstring>crtscts</cstring>
386 </property> 386 </property>
387 <property stdset="1"> 387 <property stdset="1">
388 <name>text</name> 388 <name>text</name>
389 <string>Hardware flow control</string> 389 <string>Hardware flow control</string>
390 </property> 390 </property>
391 <property stdset="1"> 391 <property stdset="1">
392 <name>checked</name> 392 <name>checked</name>
393 <bool>true</bool> 393 <bool>true</bool>
394 </property> 394 </property>
395 </widget> 395 </widget>
396 <spacer row="4" column="1" > 396 <spacer row="4" column="1" >
397 <property> 397 <property>
398 <name>name</name> 398 <name>name</name>
399 <cstring>Spacer5</cstring> 399 <cstring>Spacer5</cstring>
400 </property> 400 </property>
401 <property stdset="1"> 401 <property stdset="1">
402 <name>orientation</name> 402 <name>orientation</name>
403 <enum>Vertical</enum> 403 <enum>Vertical</enum>
404 </property> 404 </property>
405 <property stdset="1"> 405 <property stdset="1">
406 <name>sizeType</name> 406 <name>sizeType</name>
407 <enum>Expanding</enum> 407 <enum>Expanding</enum>
408 </property> 408 </property>
409 <property> 409 <property>
410 <name>sizeHint</name> 410 <name>sizeHint</name>
411 <size> 411 <size>
412 <width>20</width> 412 <width>20</width>
413 <height>20</height> 413 <height>20</height>
414 </size> 414 </size>
415 </property> 415 </property>
416 </spacer> 416 </spacer>
417 <widget row="5" column="0" rowspan="1" colspan="4" > 417 <widget row="5" column="0" rowspan="1" colspan="4" >
418 <class>QButtonGroup</class> 418 <class>QButtonGroup</class>
419 <property stdset="1"> 419 <property stdset="1">
420 <name>name</name> 420 <name>name</name>
421 <cstring>dialmode</cstring> 421 <cstring>dialmode</cstring>
422 </property> 422 </property>
423 <property stdset="1"> 423 <property stdset="1">
424 <name>title</name> 424 <name>title</name>
425 <string>Demand Dialing</string> 425 <string>Demand Dialing</string>
426 </property> 426 </property>
427 <grid> 427 <grid>
428 <property stdset="1"> 428 <property stdset="1">
429 <name>margin</name> 429 <name>margin</name>
430 <number>11</number> 430 <number>11</number>
431 </property> 431 </property>
432 <property stdset="1"> 432 <property stdset="1">
433 <name>spacing</name> 433 <name>spacing</name>
434 <number>6</number> 434 <number>6</number>
435 </property> 435 </property>
436 <widget row="0" column="0" rowspan="1" colspan="2" > 436 <widget row="0" column="0" rowspan="1" colspan="2" >
437 <class>QRadioButton</class> 437 <class>QRadioButton</class>
438 <property stdset="1"> 438 <property stdset="1">
439 <name>name</name> 439 <name>name</name>
440 <cstring>dial_manual</cstring> 440 <cstring>dial_manual</cstring>
441 </property> 441 </property>
442 <property stdset="1"> 442 <property stdset="1">
443 <name>text</name> 443 <name>text</name>
444 <string>Manual connect and disconnect</string> 444 <string>Manual connect and disconnect</string>
445 </property> 445 </property>
446 </widget> 446 </widget>
447 <widget row="3" column="1" > 447 <widget row="3" column="1" >
448 <class>QSpinBox</class> 448 <class>QSpinBox</class>
449 <property stdset="1"> 449 <property stdset="1">
450 <name>name</name> 450 <name>name</name>
451 <cstring>idletime</cstring> 451 <cstring>idletime</cstring>
452 </property> 452 </property>
453 <property stdset="1"> 453 <property stdset="1">
454 <name>suffix</name> 454 <name>suffix</name>
455 <string> seconds</string> 455 <string> seconds</string>
456 </property> 456 </property>
457 <property stdset="1"> 457 <property stdset="1">
458 <name>maxValue</name> 458 <name>maxValue</name>
459 <number>3600</number> 459 <number>3600</number>
460 </property> 460 </property>
461 <property stdset="1"> 461 <property stdset="1">
462 <name>lineStep</name> 462 <name>lineStep</name>
463 <number>30</number> 463 <number>30</number>
464 </property> 464 </property>
465 <property stdset="1"> 465 <property stdset="1">
466 <name>value</name> 466 <name>value</name>
467 <number>120</number> 467 <number>120</number>
468 </property> 468 </property>
469 </widget> 469 </widget>
470 <widget row="3" column="0" > 470 <widget row="3" column="0" >
471 <class>QLabel</class> 471 <class>QLabel</class>
472 <property stdset="1"> 472 <property stdset="1">
473 <name>name</name> 473 <name>name</name>
474 <cstring>TextLabel1_5</cstring> 474 <cstring>TextLabel1_5</cstring>
475 </property> 475 </property>
476 <property stdset="1"> 476 <property stdset="1">
477 <name>sizePolicy</name> 477 <name>sizePolicy</name>
478 <sizepolicy> 478 <sizepolicy>
479 <hsizetype>7</hsizetype> 479 <hsizetype>7</hsizetype>
480 <vsizetype>1</vsizetype> 480 <vsizetype>1</vsizetype>
481 </sizepolicy> 481 </sizepolicy>
482 </property> 482 </property>
483 <property stdset="1"> 483 <property stdset="1">
484 <name>text</name> 484 <name>text</name>
485 <string>Idle timeout:</string> 485 <string>Idle timeout:</string>
486 </property> 486 </property>
487 <property stdset="1"> 487 <property stdset="1">
488 <name>alignment</name> 488 <name>alignment</name>
489 <set>AlignVCenter|AlignRight</set> 489 <set>AlignVCenter|AlignRight</set>
490 </property> 490 </property>
491 <property> 491 <property>
492 <name>hAlign</name> 492 <name>hAlign</name>
493 </property> 493 </property>
494 </widget> 494 </widget>
495 <widget row="2" column="0" rowspan="1" colspan="2" > 495 <widget row="2" column="0" rowspan="1" colspan="2" >
496 <class>QRadioButton</class> 496 <class>QRadioButton</class>
497 <property stdset="1"> 497 <property stdset="1">
498 <name>name</name> 498 <name>name</name>
499 <cstring>dial_demand</cstring> 499 <cstring>dial_demand</cstring>
500 </property> 500 </property>
501 <property stdset="1"> 501 <property stdset="1">
502 <name>text</name> 502 <name>text</name>
503 <string>Automatic connect and disconnect</string> 503 <string>Automatic connect and disconnect</string>
504 </property> 504 </property>
505 <property stdset="1"> 505 <property stdset="1">
506 <name>checked</name> 506 <name>checked</name>
507 <bool>true</bool> 507 <bool>true</bool>
508 </property> 508 </property>
509 <property stdset="1"> 509 <property stdset="1">
510 <name>buttonGroupId</name> 510 <name>buttonGroupId</name>
511 <number>2</number> 511 <number>2</number>
512 </property> 512 </property>
513 </widget> 513 </widget>
514 <widget row="1" column="0" rowspan="1" colspan="2" > 514 <widget row="1" column="0" rowspan="1" colspan="2" >
515 <class>QRadioButton</class> 515 <class>QRadioButton</class>
516 <property stdset="1"> 516 <property stdset="1">
517 <name>name</name> 517 <name>name</name>
518 <cstring>dial_idle</cstring> 518 <cstring>dial_idle</cstring>
519 </property> 519 </property>
520 <property stdset="1"> 520 <property stdset="1">
521 <name>text</name> 521 <name>text</name>
522 <string>Manual connect, automatic disconnect</string> 522 <string>Manual connect, automatic disconnect</string>
523 </property> 523 </property>
524 <property stdset="1"> 524 <property stdset="1">
525 <name>buttonGroupId</name> 525 <name>buttonGroupId</name>
526 <number>1</number> 526 <number>1</number>
527 </property> 527 </property>
528 </widget> 528 </widget>
529 </grid> 529 </grid>
530 </widget> 530 </widget>
531 </grid> 531 </grid>
532 </widget> 532 </widget>
533 <widget> 533 <widget>
534 <class>QWidget</class> 534 <class>QWidget</class>
535 <property stdset="1"> 535 <property stdset="1">
536 <name>name</name> 536 <name>name</name>
537 <cstring>tab</cstring> 537 <cstring>tab</cstring>
538 </property> 538 </property>
539 <attribute> 539 <attribute>
540 <name>title</name> 540 <name>title</name>
541 <string>Network</string> 541 <string>Network</string>
542 </attribute> 542 </attribute>
543 <grid> 543 <grid>
544 <property stdset="1"> 544 <property stdset="1">
545 <name>margin</name> 545 <name>margin</name>
546 <number>6</number> 546 <number>6</number>
547 </property> 547 </property>
548 <property stdset="1"> 548 <property stdset="1">
549 <name>spacing</name> 549 <name>spacing</name>
550 <number>4</number> 550 <number>4</number>
551 </property> 551 </property>
552 <spacer row="4" column="1" > 552 <spacer row="4" column="1" >
553 <property> 553 <property>
554 <name>name</name> 554 <name>name</name>
555 <cstring>Spacer8</cstring> 555 <cstring>Spacer8</cstring>
556 </property> 556 </property>
557 <property stdset="1"> 557 <property stdset="1">
558 <name>orientation</name> 558 <name>orientation</name>
559 <enum>Vertical</enum> 559 <enum>Vertical</enum>
560 </property> 560 </property>
561 <property stdset="1"> 561 <property stdset="1">
562 <name>sizeType</name> 562 <name>sizeType</name>
563 <enum>Expanding</enum> 563 <enum>Expanding</enum>
564 </property> 564 </property>
565 <property> 565 <property>
566 <name>sizeHint</name> 566 <name>sizeHint</name>
567 <size> 567 <size>
568 <width>20</width> 568 <width>20</width>
569 <height>20</height> 569 <height>20</height>
570 </size> 570 </size>
571 </property> 571 </property>
572 </spacer> 572 </spacer>
573 <widget row="2" column="0" > 573 <widget row="2" column="0" >
574 <class>QCheckBox</class> 574 <class>QCheckBox</class>
575 <property stdset="1"> 575 <property stdset="1">
576 <name>name</name> 576 <name>name</name>
577 <cstring>usepeerdns</cstring> 577 <cstring>usepeerdns</cstring>
578 </property> 578 </property>
579 <property stdset="1"> 579 <property stdset="1">
580 <name>text</name> 580 <name>text</name>
581 <string>Auto-detect name servers</string> 581 <string>Auto-detect name servers</string>
582 </property> 582 </property>
583 <property stdset="1"> 583 <property stdset="1">
584 <name>checked</name> 584 <name>checked</name>
585 <bool>true</bool> 585 <bool>true</bool>
586 </property> 586 </property>
587 </widget> 587 </widget>
588 <widget row="1" column="0" rowspan="1" colspan="2" > 588 <widget row="1" column="0" rowspan="1" colspan="2" >
589 <class>QGroupBox</class> 589 <class>QGroupBox</class>
590 <property stdset="1"> 590 <property stdset="1">
591 <name>name</name> 591 <name>name</name>
592 <cstring>gatewaybox</cstring> 592 <cstring>gatewaybox</cstring>
593 </property> 593 </property>
594 <property stdset="1"> 594 <property stdset="1">
595 <name>enabled</name> 595 <name>enabled</name>
596 <bool>false</bool> 596 <bool>false</bool>
597 </property> 597 </property>
598 <property stdset="1"> 598 <property stdset="1">
599 <name>title</name> 599 <name>title</name>
600 <string></string> 600 <string></string>
601 </property> 601 </property>
602 <hbox> 602 <hbox>
603 <property stdset="1"> 603 <property stdset="1">
604 <name>margin</name> 604 <name>margin</name>
605 <number>11</number> 605 <number>11</number>
606 </property> 606 </property>
607 <property stdset="1"> 607 <property stdset="1">
608 <name>spacing</name> 608 <name>spacing</name>
609 <number>6</number> 609 <number>6</number>
610 </property> 610 </property>
611 <widget> 611 <widget>
612 <class>QLabel</class> 612 <class>QLabel</class>
613 <property stdset="1"> 613 <property stdset="1">
614 <name>name</name> 614 <name>name</name>
615 <cstring>TextLabel4_2</cstring> 615 <cstring>TextLabel4_2</cstring>
616 </property> 616 </property>
617 <property stdset="1"> 617 <property stdset="1">
618 <name>text</name> 618 <name>text</name>
619 <string>Gateway</string> 619 <string>Gateway</string>
620 </property> 620 </property>
621 </widget> 621 </widget>
622 <widget> 622 <widget>
623 <class>QLineEdit</class> 623 <class>QLineEdit</class>
624 <property stdset="1"> 624 <property stdset="1">
625 <name>name</name> 625 <name>name</name>
626 <cstring>gateway</cstring> 626 <cstring>gateway</cstring>
627 </property> 627 </property>
628 <property stdset="1"> 628 <property stdset="1">
629 <name>text</name> 629 <name>text</name>
630 <string></string> 630 <string></string>
631 </property> 631 </property>
632 </widget> 632 </widget>
633 </hbox> 633 </hbox>
634 </widget> 634 </widget>
635 <widget row="0" column="0" rowspan="1" colspan="2" > 635 <widget row="0" column="0" rowspan="1" colspan="2" >
636 <class>QCheckBox</class> 636 <class>QCheckBox</class>
637 <property stdset="1"> 637 <property stdset="1">
638 <name>name</name> 638 <name>name</name>
639 <cstring>defaultroute</cstring> 639 <cstring>defaultroute</cstring>
640 </property> 640 </property>
641 <property stdset="1"> 641 <property stdset="1">
642 <name>text</name> 642 <name>text</name>
643 <string>Auto-detect routing</string> 643 <string>Auto-detect routing</string>
644 </property> 644 </property>
645 <property stdset="1"> 645 <property stdset="1">
646 <name>checked</name> 646 <name>checked</name>
647 <bool>true</bool> 647 <bool>true</bool>
648 </property> 648 </property>
649 </widget> 649 </widget>
650 <widget row="3" column="0" rowspan="1" colspan="2" > 650 <widget row="3" column="0" rowspan="1" colspan="2" >
651 <class>QGroupBox</class> 651 <class>QGroupBox</class>
652 <property stdset="1"> 652 <property stdset="1">
653 <name>name</name> 653 <name>name</name>
654 <cstring>dnsbox</cstring> 654 <cstring>dnsbox</cstring>
655 </property> 655 </property>
656 <property stdset="1"> 656 <property stdset="1">
657 <name>enabled</name> 657 <name>enabled</name>
658 <bool>false</bool> 658 <bool>false</bool>
659 </property> 659 </property>
660 <property stdset="1"> 660 <property stdset="1">
661 <name>title</name> 661 <name>title</name>
662 <string></string> 662 <string></string>
663 </property> 663 </property>
664 <grid> 664 <grid>
665 <property stdset="1"> 665 <property stdset="1">
666 <name>margin</name> 666 <name>margin</name>
667 <number>11</number> 667 <number>11</number>
668 </property> 668 </property>
669 <property stdset="1"> 669 <property stdset="1">
670 <name>spacing</name> 670 <name>spacing</name>
671 <number>6</number> 671 <number>6</number>
672 </property> 672 </property>
673 <widget row="0" column="1" > 673 <widget row="0" column="1" >
674 <class>QLineEdit</class> 674 <class>QLineEdit</class>
675 <property stdset="1"> 675 <property stdset="1">
676 <name>name</name> 676 <name>name</name>
677 <cstring>dns1</cstring> 677 <cstring>dns1</cstring>
678 </property> 678 </property>
679 <property stdset="1"> 679 <property stdset="1">
680 <name>text</name> 680 <name>text</name>
681 <string></string> 681 <string></string>
682 </property> 682 </property>
683 </widget> 683 </widget>
684 <widget row="1" column="1" > 684 <widget row="1" column="1" >
685 <class>QLineEdit</class> 685 <class>QLineEdit</class>
686 <property stdset="1"> 686 <property stdset="1">
687 <name>name</name> 687 <name>name</name>
688 <cstring>dns2</cstring> 688 <cstring>dns2</cstring>
689 </property> 689 </property>
690 <property stdset="1"> 690 <property stdset="1">
691 <name>text</name> 691 <name>text</name>
692 <string></string> 692 <string></string>
693 </property> 693 </property>
694 </widget> 694 </widget>
695 <widget row="0" column="0" > 695 <widget row="0" column="0" >
696 <class>QLabel</class> 696 <class>QLabel</class>
697 <property stdset="1"> 697 <property stdset="1">
698 <name>name</name> 698 <name>name</name>
699 <cstring>TextLabel1_2_3</cstring> 699 <cstring>TextLabel1_2_3</cstring>
700 </property> 700 </property>
701 <property stdset="1"> 701 <property stdset="1">
702 <name>text</name> 702 <name>text</name>
703 <string>First DNS</string> 703 <string>First DNS</string>
704 </property> 704 </property>
705 </widget> 705 </widget>
706 <widget row="1" column="0" > 706 <widget row="1" column="0" >
707 <class>QLabel</class> 707 <class>QLabel</class>
708 <property stdset="1"> 708 <property stdset="1">
709 <name>name</name> 709 <name>name</name>
710 <cstring>TextLabel1_2_2_2</cstring> 710 <cstring>TextLabel1_2_2_2</cstring>
711 </property> 711 </property>
712 <property stdset="1"> 712 <property stdset="1">
713 <name>text</name> 713 <name>text</name>
714 <string>Second DNS</string> 714 <string>Second DNS</string>
715 </property> 715 </property>
716 </widget> 716 </widget>
717 </grid> 717 </grid>
718 </widget> 718 </widget>
719 </grid> 719 </grid>
720 </widget> 720 </widget>
721 </widget> 721 </widget>
722 </vbox> 722 </vbox>
723</widget> 723</widget>
724<connections> 724<connections>
725 <connection> 725 <connection>
726 <sender>defaultroute</sender> 726 <sender>defaultroute</sender>
727 <signal>toggled(bool)</signal> 727 <signal>toggled(bool)</signal>
728 <receiver>gatewaybox</receiver> 728 <receiver>gatewaybox</receiver>
729 <slot>setDisabled(bool)</slot> 729 <slot>setDisabled(bool)</slot>
730 </connection> 730 </connection>
731 <connection> 731 <connection>
732 <sender>usepeerdns</sender> 732 <sender>usepeerdns</sender>
733 <signal>toggled(bool)</signal> 733 <signal>toggled(bool)</signal>
734 <receiver>dnsbox</receiver> 734 <receiver>dnsbox</receiver>
735 <slot>setDisabled(bool)</slot> 735 <slot>setDisabled(bool)</slot>
736 </connection> 736 </connection>
737 <connection> 737 <connection>
738 <sender>connectdelay</sender>
739 <signal>valueChanged(int)</signal>
740 <receiver>connectdelay_text</receiver>
741 <slot>setNum(int)</slot>
742 </connection>
743 <connection>
744 <sender>dial_manual</sender> 738 <sender>dial_manual</sender>
745 <signal>toggled(bool)</signal> 739 <signal>toggled(bool)</signal>
746 <receiver>idletime</receiver> 740 <receiver>idletime</receiver>
747 <slot>setDisabled(bool)</slot> 741 <slot>setDisabled(bool)</slot>
748 </connection> 742 </connection>
743 <connection>
744 <sender>connectdelay</sender>
745 <signal>valueChanged(int)</signal>
746 <receiver>connectdelay_text</receiver>
747 <slot>setNum(int)</slot>
748 </connection>
749</connections> 749</connections>
750<tabstops> 750<tabstops>
751 <tabstop>TabWidget2</tabstop> 751 <tabstop>TabWidget2</tabstop>
752 <tabstop>acname</tabstop> 752 <tabstop>acname</tabstop>
753 <tabstop>username</tabstop> 753 <tabstop>username</tabstop>
754 <tabstop>password</tabstop> 754 <tabstop>password</tabstop>
755 <tabstop>phone</tabstop> 755 <tabstop>phone</tabstop>
756 <tabstop>atdial</tabstop> 756 <tabstop>atdial</tabstop>
757 <tabstop>speed</tabstop> 757 <tabstop>speed</tabstop>
758 <tabstop>crtscts</tabstop> 758 <tabstop>crtscts</tabstop>
759 <tabstop>connectdelay</tabstop> 759 <tabstop>connectdelay</tabstop>
760 <tabstop>dial_manual</tabstop> 760 <tabstop>dial_manual</tabstop>
761 <tabstop>dial_idle</tabstop> 761 <tabstop>dial_idle</tabstop>
762 <tabstop>dial_demand</tabstop> 762 <tabstop>dial_demand</tabstop>
763 <tabstop>idletime</tabstop> 763 <tabstop>idletime</tabstop>
764 <tabstop>defaultroute</tabstop> 764 <tabstop>defaultroute</tabstop>
765 <tabstop>gateway</tabstop> 765 <tabstop>gateway</tabstop>
766 <tabstop>usepeerdns</tabstop> 766 <tabstop>usepeerdns</tabstop>
767 <tabstop>dns1</tabstop> 767 <tabstop>dns1</tabstop>
768 <tabstop>dns2</tabstop> 768 <tabstop>dns2</tabstop>
769</tabstops> 769</tabstops>
770</UI> 770</UI>
diff --git a/noncore/net/networksetup/ppp/pppimp.cpp b/noncore/net/networksetup/ppp/pppimp.cpp
new file mode 100644
index 0000000..e3a7481
--- a/dev/null
+++ b/noncore/net/networksetup/ppp/pppimp.cpp
@@ -0,0 +1,4 @@
1#include "pppimp.h"
2
3// pppconfigureimp.h
4
diff --git a/noncore/net/networksetup/ppp/pppimp.h b/noncore/net/networksetup/ppp/pppimp.h
new file mode 100644
index 0000000..60d29b5
--- a/dev/null
+++ b/noncore/net/networksetup/ppp/pppimp.h
@@ -0,0 +1,17 @@
1#ifndef PPPIMP_H
2#define PPPIMP_H
3
4#include "ppp.h"
5
6class PPPConfigureImp : public PPP {
7
8public:
9 PPPConfigureImp();
10 ~PPPConfigureImp();
11
12};
13
14#endif
15
16// pppconfigureimp.h
17
diff --git a/noncore/net/networksetup/ppp/pppmodule.cpp b/noncore/net/networksetup/ppp/pppmodule.cpp
new file mode 100644
index 0000000..68bb0a0
--- a/dev/null
+++ b/noncore/net/networksetup/ppp/pppmodule.cpp
@@ -0,0 +1,104 @@
1#include "pppmodule.h"
2#include "interfaceinformationimp.h"
3
4/**
5 * Constructor, find all of the possible interfaces
6 */
7PPPModule::PPPModule() : Module() {
8}
9
10/**
11 * Delete any interfaces that we own.
12 */
13PPPModule::~PPPModule(){
14 Interface *i;
15 for ( i=list.first(); i != 0; i=list.next() )
16 delete i;
17}
18
19/**
20 * Change the current profile
21 */
22void PPPModule::setProfile(const QString &newProfile){
23 profile = newProfile;
24}
25
26/**
27 * get the icon name for this device.
28 * @param Interface* can be used in determining the icon.
29 * @return QString the icon name (minus .png, .gif etc)
30 */
31QString PPPModule::getPixmapName(Interface* ){
32 return "ppp";
33}
34
35/**
36 * Check to see if the interface i is owned by this module.
37 * @param Interface* interface to check against
38 * @return bool true if i is owned by this module, false otherwise.
39 */
40bool PPPModule::isOwner(Interface *i){
41 // Scan the ppp database
42 return false;
43
44 i->setHardwareName("PPP");
45 list.append(i);
46 return true;
47}
48
49/**
50 * Create, and return the WLANConfigure Module
51 * @return QWidget* pointer to this modules configure.
52 */
53QWidget *PPPModule::configure(Interface *i){
54 return NULL;
55 //PPPConfigureImp *pppconfig = new PPPConfigureImp(0, "PPPConfig", i, false, Qt::WDestructiveClose);
56 //pppconfig->setProfile(profile);
57 //return wlanconfig;
58}
59
60/**
61 * Create, and return the Information Module
62 * @return QWidget* pointer to this modules info.
63 */
64QWidget *PPPModule::information(Interface *i){
65 return NULL;
66
67 //WlanInfoImp *info = new WlanInfoImp(0, i->getInterfaceName(), Qt::WDestructiveClose);
68 //InterfaceInformationImp *information = new InterfaceInformationImp(info->tabWidget, "InterfaceSetupImp", i);
69 //info->tabWidget->insertTab(information, "TCP/IP");
70 //return info;
71}
72
73/**
74 * Get all active (up or down) interfaces
75 * @return QList<Interface> A list of interfaces that exsist that havn't
76 * been called by isOwner()
77 */
78QList<Interface> PPPModule::getInterfaces(){
79 return list;
80}
81
82/**
83 * Attempt to add a new interface as defined by name
84 * @param name the name of the type of interface that should be created given
85 * by possibleNewInterfaces();
86 * @return Interface* NULL if it was unable to be created.
87 */
88Interface *PPPModule::addNewInterface(const QString &newInterface){
89 // We can't add a 802.11 interface, either the hardware will be there
90 // or it wont.
91 return NULL;
92}
93
94/**
95 * Attempts to remove the interface, doesn't delete i
96 * @return bool true if successfull, false otherwise.
97 */
98bool PPPModule::remove(Interface*){
99 // Can't remove a hardware device, you can stop it though.
100 return false;
101}
102
103// pppmodule.cpp
104
diff --git a/noncore/net/networksetup/ppp/pppmodule.h b/noncore/net/networksetup/ppp/pppmodule.h
new file mode 100644
index 0000000..c8e77e2
--- a/dev/null
+++ b/noncore/net/networksetup/ppp/pppmodule.h
@@ -0,0 +1,41 @@
1#ifndef PPP_MODULE_H
2#define PPP_MODULE_H
3
4#include "module.h"
5
6class PPPModule : Module {
7
8signals:
9 void updateInterface(Interface *i);
10
11public:
12 PPPModule();
13 ~PPPModule();
14
15 virtual void setProfile(const QString &newProfile);
16 virtual bool isOwner(Interface *);
17 virtual QWidget *configure(Interface *i);
18 virtual QWidget *information(Interface *i);
19 virtual QList<Interface> getInterfaces();
20 virtual void possibleNewInterfaces(QMap<QString, QString> &){};
21 virtual Interface *addNewInterface(const QString &name);
22 virtual bool remove(Interface* i);
23 virtual QString getPixmapName(Interface* i);
24
25private:
26 QList<Interface> list;
27 QString profile;
28
29};
30
31extern "C"
32{
33 void* create_plugin() {
34 return new PPPModule();
35 }
36};
37
38#endif
39
40// pppmodule.h
41
diff --git a/noncore/settings/networksettings/ppp/ppp.pro b/noncore/settings/networksettings/ppp/ppp.pro
new file mode 100644
index 0000000..075cc5f
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/ppp.pro
@@ -0,0 +1,12 @@
1TEMPLATE = lib
2CONFIG += qt warn_on release
3 #CONFIG += qt warn_on debug
4DESTDIR = $(OPIEDIR)/plugins/networksetup
5 HEADERS = pppimp.h pppmodule.h
6 SOURCES = pppimp.cpp pppmodule.cpp
7 INCLUDEPATH+= $(OPIEDIR)/include ../ ../interfaces/
8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe -L../interfaces/ -linterfaces
10 INTERFACES= ppp.ui
11 TARGET = pppplugin
12 VERSION = 1.0.0
diff --git a/noncore/settings/networksettings/ppp/ppp.ui b/noncore/settings/networksettings/ppp/ppp.ui
index d08eda0..67d6735 100644
--- a/noncore/settings/networksettings/ppp/ppp.ui
+++ b/noncore/settings/networksettings/ppp/ppp.ui
@@ -1,770 +1,770 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>DialupBase</class> 2<class>PPP</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>Form1</cstring> 7 <cstring>PPP</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>273</width> 14 <width>277</width>
15 <height>340</height> 15 <height>340</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>Dial-up </string> 20 <string>Dial-up </string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
27 </property> 27 </property>
28 <vbox> 28 <vbox>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>1</number> 31 <number>1</number>
32 </property> 32 </property>
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>0</number> 35 <number>0</number>
36 </property> 36 </property>
37 <widget> 37 <widget>
38 <class>QTabWidget</class> 38 <class>QTabWidget</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>TabWidget2</cstring> 41 <cstring>TabWidget2</cstring>
42 </property> 42 </property>
43 <property> 43 <property>
44 <name>layoutMargin</name> 44 <name>layoutMargin</name>
45 </property> 45 </property>
46 <property> 46 <property>
47 <name>layoutSpacing</name> 47 <name>layoutSpacing</name>
48 </property> 48 </property>
49 <widget> 49 <widget>
50 <class>QWidget</class> 50 <class>QWidget</class>
51 <property stdset="1"> 51 <property stdset="1">
52 <name>name</name> 52 <name>name</name>
53 <cstring>tab</cstring> 53 <cstring>tab</cstring>
54 </property> 54 </property>
55 <attribute> 55 <attribute>
56 <name>title</name> 56 <name>title</name>
57 <string>Account</string> 57 <string>Account</string>
58 </attribute> 58 </attribute>
59 <grid> 59 <grid>
60 <property stdset="1"> 60 <property stdset="1">
61 <name>margin</name> 61 <name>margin</name>
62 <number>6</number> 62 <number>6</number>
63 </property> 63 </property>
64 <property stdset="1"> 64 <property stdset="1">
65 <name>spacing</name> 65 <name>spacing</name>
66 <number>4</number> 66 <number>4</number>
67 </property> 67 </property>
68 <widget row="3" column="1" > 68 <widget row="3" column="1" >
69 <class>QLineEdit</class> 69 <class>QLineEdit</class>
70 <property stdset="1"> 70 <property stdset="1">
71 <name>name</name> 71 <name>name</name>
72 <cstring>password</cstring> 72 <cstring>password</cstring>
73 </property> 73 </property>
74 <property stdset="1"> 74 <property stdset="1">
75 <name>echoMode</name> 75 <name>echoMode</name>
76 <enum>Password</enum> 76 <enum>Password</enum>
77 </property> 77 </property>
78 </widget> 78 </widget>
79 <widget row="2" column="1" > 79 <widget row="2" column="1" >
80 <class>QLineEdit</class> 80 <class>QLineEdit</class>
81 <property stdset="1"> 81 <property stdset="1">
82 <name>name</name> 82 <name>name</name>
83 <cstring>username</cstring> 83 <cstring>username</cstring>
84 </property> 84 </property>
85 </widget> 85 </widget>
86 <widget row="2" column="0" > 86 <widget row="2" column="0" >
87 <class>QLabel</class> 87 <class>QLabel</class>
88 <property stdset="1"> 88 <property stdset="1">
89 <name>name</name> 89 <name>name</name>
90 <cstring>TextLabel1</cstring> 90 <cstring>TextLabel1</cstring>
91 </property> 91 </property>
92 <property stdset="1"> 92 <property stdset="1">
93 <name>text</name> 93 <name>text</name>
94 <string>Username</string> 94 <string>Username</string>
95 </property> 95 </property>
96 </widget> 96 </widget>
97 <widget row="3" column="0" > 97 <widget row="3" column="0" >
98 <class>QLabel</class> 98 <class>QLabel</class>
99 <property stdset="1"> 99 <property stdset="1">
100 <name>name</name> 100 <name>name</name>
101 <cstring>TextLabel2</cstring> 101 <cstring>TextLabel2</cstring>
102 </property> 102 </property>
103 <property stdset="1"> 103 <property stdset="1">
104 <name>text</name> 104 <name>text</name>
105 <string>Password</string> 105 <string>Password</string>
106 </property> 106 </property>
107 </widget> 107 </widget>
108 <widget row="5" column="0" > 108 <widget row="5" column="0" >
109 <class>QLabel</class> 109 <class>QLabel</class>
110 <property stdset="1"> 110 <property stdset="1">
111 <name>name</name> 111 <name>name</name>
112 <cstring>TextLabel1_2_2</cstring> 112 <cstring>TextLabel1_2_2</cstring>
113 </property> 113 </property>
114 <property stdset="1"> 114 <property stdset="1">
115 <name>text</name> 115 <name>text</name>
116 <string>Phone #</string> 116 <string>Phone #</string>
117 </property> 117 </property>
118 </widget> 118 </widget>
119 <widget row="5" column="1" > 119 <widget row="5" column="1" >
120 <class>QLineEdit</class> 120 <class>QLineEdit</class>
121 <property stdset="1"> 121 <property stdset="1">
122 <name>name</name> 122 <name>name</name>
123 <cstring>phone</cstring> 123 <cstring>phone</cstring>
124 </property> 124 </property>
125 </widget> 125 </widget>
126 <widget row="4" column="0" rowspan="1" colspan="2" > 126 <widget row="4" column="0" rowspan="1" colspan="2" >
127 <class>Line</class> 127 <class>Line</class>
128 <property stdset="1"> 128 <property stdset="1">
129 <name>name</name> 129 <name>name</name>
130 <cstring>Line3</cstring> 130 <cstring>Line3</cstring>
131 </property> 131 </property>
132 <property stdset="1"> 132 <property stdset="1">
133 <name>orientation</name> 133 <name>orientation</name>
134 <enum>Horizontal</enum> 134 <enum>Horizontal</enum>
135 </property> 135 </property>
136 </widget> 136 </widget>
137 <widget row="0" column="1" > 137 <widget row="0" column="1" >
138 <class>QLineEdit</class> 138 <class>QLineEdit</class>
139 <property stdset="1"> 139 <property stdset="1">
140 <name>name</name> 140 <name>name</name>
141 <cstring>acname</cstring> 141 <cstring>acname</cstring>
142 </property> 142 </property>
143 </widget> 143 </widget>
144 <widget row="0" column="0" > 144 <widget row="0" column="0" >
145 <class>QLabel</class> 145 <class>QLabel</class>
146 <property stdset="1"> 146 <property stdset="1">
147 <name>name</name> 147 <name>name</name>
148 <cstring>TextLabel1_2</cstring> 148 <cstring>TextLabel1_2</cstring>
149 </property> 149 </property>
150 <property stdset="1"> 150 <property stdset="1">
151 <name>text</name> 151 <name>text</name>
152 <string>Name</string> 152 <string>Name</string>
153 </property> 153 </property>
154 </widget> 154 </widget>
155 <widget row="1" column="0" rowspan="1" colspan="2" > 155 <widget row="1" column="0" rowspan="1" colspan="2" >
156 <class>Line</class> 156 <class>Line</class>
157 <property stdset="1"> 157 <property stdset="1">
158 <name>name</name> 158 <name>name</name>
159 <cstring>Line4</cstring> 159 <cstring>Line4</cstring>
160 </property> 160 </property>
161 <property stdset="1"> 161 <property stdset="1">
162 <name>orientation</name> 162 <name>orientation</name>
163 <enum>Horizontal</enum> 163 <enum>Horizontal</enum>
164 </property> 164 </property>
165 </widget> 165 </widget>
166 <spacer row="9" column="1" > 166 <spacer row="9" column="1" >
167 <property> 167 <property>
168 <name>name</name> 168 <name>name</name>
169 <cstring>Spacer4</cstring> 169 <cstring>Spacer4</cstring>
170 </property> 170 </property>
171 <property stdset="1"> 171 <property stdset="1">
172 <name>orientation</name> 172 <name>orientation</name>
173 <enum>Vertical</enum> 173 <enum>Vertical</enum>
174 </property> 174 </property>
175 <property stdset="1"> 175 <property stdset="1">
176 <name>sizeType</name> 176 <name>sizeType</name>
177 <enum>Expanding</enum> 177 <enum>Expanding</enum>
178 </property> 178 </property>
179 <property> 179 <property>
180 <name>sizeHint</name> 180 <name>sizeHint</name>
181 <size> 181 <size>
182 <width>20</width> 182 <width>20</width>
183 <height>20</height> 183 <height>20</height>
184 </size> 184 </size>
185 </property> 185 </property>
186 </spacer> 186 </spacer>
187 </grid> 187 </grid>
188 </widget> 188 </widget>
189 <widget> 189 <widget>
190 <class>QWidget</class> 190 <class>QWidget</class>
191 <property stdset="1"> 191 <property stdset="1">
192 <name>name</name> 192 <name>name</name>
193 <cstring>tab</cstring> 193 <cstring>tab</cstring>
194 </property> 194 </property>
195 <attribute> 195 <attribute>
196 <name>title</name> 196 <name>title</name>
197 <string>Modem</string> 197 <string>Modem</string>
198 </attribute> 198 </attribute>
199 <grid> 199 <grid>
200 <property stdset="1"> 200 <property stdset="1">
201 <name>margin</name> 201 <name>margin</name>
202 <number>6</number> 202 <number>6</number>
203 </property> 203 </property>
204 <property stdset="1"> 204 <property stdset="1">
205 <name>spacing</name> 205 <name>spacing</name>
206 <number>4</number> 206 <number>4</number>
207 </property> 207 </property>
208 <widget row="0" column="0" > 208 <widget row="0" column="0" >
209 <class>QLabel</class> 209 <class>QLabel</class>
210 <property stdset="1"> 210 <property stdset="1">
211 <name>name</name> 211 <name>name</name>
212 <cstring>TextLabel3_2_2</cstring> 212 <cstring>TextLabel3_2_2</cstring>
213 </property> 213 </property>
214 <property stdset="1"> 214 <property stdset="1">
215 <name>text</name> 215 <name>text</name>
216 <string>AT-dial</string> 216 <string>AT-dial</string>
217 </property> 217 </property>
218 </widget> 218 </widget>
219 <widget row="0" column="1" rowspan="1" colspan="3" > 219 <widget row="0" column="1" rowspan="1" colspan="3" >
220 <class>QComboBox</class> 220 <class>QComboBox</class>
221 <item> 221 <item>
222 <property> 222 <property>
223 <name>text</name> 223 <name>text</name>
224 <string>ATDT</string> 224 <string>ATDT</string>
225 </property> 225 </property>
226 </item> 226 </item>
227 <item> 227 <item>
228 <property> 228 <property>
229 <name>text</name> 229 <name>text</name>
230 <string>ATDP</string> 230 <string>ATDP</string>
231 </property> 231 </property>
232 </item> 232 </item>
233 <property stdset="1"> 233 <property stdset="1">
234 <name>name</name> 234 <name>name</name>
235 <cstring>atdial</cstring> 235 <cstring>atdial</cstring>
236 </property> 236 </property>
237 <property stdset="1"> 237 <property stdset="1">
238 <name>editable</name> 238 <name>editable</name>
239 <bool>true</bool> 239 <bool>true</bool>
240 </property> 240 </property>
241 </widget> 241 </widget>
242 <widget row="1" column="0" > 242 <widget row="1" column="0" >
243 <class>QLabel</class> 243 <class>QLabel</class>
244 <property stdset="1"> 244 <property stdset="1">
245 <name>name</name> 245 <name>name</name>
246 <cstring>TextLabel1_4</cstring> 246 <cstring>TextLabel1_4</cstring>
247 </property> 247 </property>
248 <property stdset="1"> 248 <property stdset="1">
249 <name>text</name> 249 <name>text</name>
250 <string>Speed</string> 250 <string>Speed</string>
251 </property> 251 </property>
252 </widget> 252 </widget>
253 <widget row="1" column="1" rowspan="1" colspan="3" > 253 <widget row="1" column="1" rowspan="1" colspan="3" >
254 <class>QComboBox</class> 254 <class>QComboBox</class>
255 <item> 255 <item>
256 <property> 256 <property>
257 <name>text</name> 257 <name>text</name>
258 <string>4800</string> 258 <string>4800</string>
259 </property> 259 </property>
260 </item> 260 </item>
261 <item> 261 <item>
262 <property> 262 <property>
263 <name>text</name> 263 <name>text</name>
264 <string>9600</string> 264 <string>9600</string>
265 </property> 265 </property>
266 </item> 266 </item>
267 <item> 267 <item>
268 <property> 268 <property>
269 <name>text</name> 269 <name>text</name>
270 <string>19200</string> 270 <string>19200</string>
271 </property> 271 </property>
272 </item> 272 </item>
273 <item> 273 <item>
274 <property> 274 <property>
275 <name>text</name> 275 <name>text</name>
276 <string>38400</string> 276 <string>38400</string>
277 </property> 277 </property>
278 </item> 278 </item>
279 <item> 279 <item>
280 <property> 280 <property>
281 <name>text</name> 281 <name>text</name>
282 <string>57600</string> 282 <string>57600</string>
283 </property> 283 </property>
284 </item> 284 </item>
285 <item> 285 <item>
286 <property> 286 <property>
287 <name>text</name> 287 <name>text</name>
288 <string>115200</string> 288 <string>115200</string>
289 </property> 289 </property>
290 </item> 290 </item>
291 <property stdset="1"> 291 <property stdset="1">
292 <name>name</name> 292 <name>name</name>
293 <cstring>speed</cstring> 293 <cstring>speed</cstring>
294 </property> 294 </property>
295 <property stdset="1"> 295 <property stdset="1">
296 <name>currentItem</name> 296 <name>currentItem</name>
297 <number>5</number> 297 <number>5</number>
298 </property> 298 </property>
299 </widget> 299 </widget>
300 <widget row="3" column="1" > 300 <widget row="3" column="1" >
301 <class>QSlider</class> 301 <class>QSlider</class>
302 <property stdset="1"> 302 <property stdset="1">
303 <name>name</name> 303 <name>name</name>
304 <cstring>connectdelay</cstring> 304 <cstring>connectdelay</cstring>
305 </property> 305 </property>
306 <property stdset="1"> 306 <property stdset="1">
307 <name>minValue</name> 307 <name>minValue</name>
308 <number>1</number> 308 <number>1</number>
309 </property> 309 </property>
310 <property stdset="1"> 310 <property stdset="1">
311 <name>maxValue</name> 311 <name>maxValue</name>
312 <number>180</number> 312 <number>180</number>
313 </property> 313 </property>
314 <property stdset="1"> 314 <property stdset="1">
315 <name>value</name> 315 <name>value</name>
316 <number>6</number> 316 <number>6</number>
317 </property> 317 </property>
318 <property stdset="1"> 318 <property stdset="1">
319 <name>orientation</name> 319 <name>orientation</name>
320 <enum>Horizontal</enum> 320 <enum>Horizontal</enum>
321 </property> 321 </property>
322 </widget> 322 </widget>
323 <widget row="3" column="0" > 323 <widget row="3" column="0" >
324 <class>QLabel</class> 324 <class>QLabel</class>
325 <property stdset="1"> 325 <property stdset="1">
326 <name>name</name> 326 <name>name</name>
327 <cstring>TextLabel1_3</cstring> 327 <cstring>TextLabel1_3</cstring>
328 </property> 328 </property>
329 <property stdset="1"> 329 <property stdset="1">
330 <name>text</name> 330 <name>text</name>
331 <string>Wait time</string> 331 <string>Wait time</string>
332 </property> 332 </property>
333 </widget> 333 </widget>
334 <widget row="3" column="2" > 334 <widget row="3" column="2" >
335 <class>QLabel</class> 335 <class>QLabel</class>
336 <property stdset="1"> 336 <property stdset="1">
337 <name>name</name> 337 <name>name</name>
338 <cstring>connectdelay_text</cstring> 338 <cstring>connectdelay_text</cstring>
339 </property> 339 </property>
340 <property stdset="1"> 340 <property stdset="1">
341 <name>minimumSize</name> 341 <name>minimumSize</name>
342 <size> 342 <size>
343 <width>15</width> 343 <width>15</width>
344 <height>0</height> 344 <height>0</height>
345 </size> 345 </size>
346 </property> 346 </property>
347 <property stdset="1"> 347 <property stdset="1">
348 <name>text</name> 348 <name>text</name>
349 <string>1</string> 349 <string>6</string>
350 </property> 350 </property>
351 <property stdset="1"> 351 <property stdset="1">
352 <name>alignment</name> 352 <name>alignment</name>
353 <set>AlignVCenter|AlignRight</set> 353 <set>AlignVCenter|AlignRight</set>
354 </property> 354 </property>
355 <property> 355 <property>
356 <name>hAlign</name> 356 <name>hAlign</name>
357 </property> 357 </property>
358 </widget> 358 </widget>
359 <widget row="3" column="3" > 359 <widget row="3" column="3" >
360 <class>QLabel</class> 360 <class>QLabel</class>
361 <property stdset="1"> 361 <property stdset="1">
362 <name>name</name> 362 <name>name</name>
363 <cstring>TextLabel5</cstring> 363 <cstring>TextLabel5</cstring>
364 </property> 364 </property>
365 <property stdset="1"> 365 <property stdset="1">
366 <name>text</name> 366 <name>text</name>
367 <string>sec</string> 367 <string>sec</string>
368 </property> 368 </property>
369 </widget> 369 </widget>
370 <widget row="2" column="0" > 370 <widget row="2" column="0" >
371 <class>QLabel</class> 371 <class>QLabel</class>
372 <property stdset="1"> 372 <property stdset="1">
373 <name>name</name> 373 <name>name</name>
374 <cstring>TextLabel3</cstring> 374 <cstring>TextLabel3</cstring>
375 </property> 375 </property>
376 <property stdset="1"> 376 <property stdset="1">
377 <name>text</name> 377 <name>text</name>
378 <string>Flow control</string> 378 <string>Flow control</string>
379 </property> 379 </property>
380 </widget> 380 </widget>
381 <widget row="2" column="1" rowspan="1" colspan="3" > 381 <widget row="2" column="1" rowspan="1" colspan="3" >
382 <class>QCheckBox</class> 382 <class>QCheckBox</class>
383 <property stdset="1"> 383 <property stdset="1">
384 <name>name</name> 384 <name>name</name>
385 <cstring>crtscts</cstring> 385 <cstring>crtscts</cstring>
386 </property> 386 </property>
387 <property stdset="1"> 387 <property stdset="1">
388 <name>text</name> 388 <name>text</name>
389 <string>Hardware flow control</string> 389 <string>Hardware flow control</string>
390 </property> 390 </property>
391 <property stdset="1"> 391 <property stdset="1">
392 <name>checked</name> 392 <name>checked</name>
393 <bool>true</bool> 393 <bool>true</bool>
394 </property> 394 </property>
395 </widget> 395 </widget>
396 <spacer row="4" column="1" > 396 <spacer row="4" column="1" >
397 <property> 397 <property>
398 <name>name</name> 398 <name>name</name>
399 <cstring>Spacer5</cstring> 399 <cstring>Spacer5</cstring>
400 </property> 400 </property>
401 <property stdset="1"> 401 <property stdset="1">
402 <name>orientation</name> 402 <name>orientation</name>
403 <enum>Vertical</enum> 403 <enum>Vertical</enum>
404 </property> 404 </property>
405 <property stdset="1"> 405 <property stdset="1">
406 <name>sizeType</name> 406 <name>sizeType</name>
407 <enum>Expanding</enum> 407 <enum>Expanding</enum>
408 </property> 408 </property>
409 <property> 409 <property>
410 <name>sizeHint</name> 410 <name>sizeHint</name>
411 <size> 411 <size>
412 <width>20</width> 412 <width>20</width>
413 <height>20</height> 413 <height>20</height>
414 </size> 414 </size>
415 </property> 415 </property>
416 </spacer> 416 </spacer>
417 <widget row="5" column="0" rowspan="1" colspan="4" > 417 <widget row="5" column="0" rowspan="1" colspan="4" >
418 <class>QButtonGroup</class> 418 <class>QButtonGroup</class>
419 <property stdset="1"> 419 <property stdset="1">
420 <name>name</name> 420 <name>name</name>
421 <cstring>dialmode</cstring> 421 <cstring>dialmode</cstring>
422 </property> 422 </property>
423 <property stdset="1"> 423 <property stdset="1">
424 <name>title</name> 424 <name>title</name>
425 <string>Demand Dialing</string> 425 <string>Demand Dialing</string>
426 </property> 426 </property>
427 <grid> 427 <grid>
428 <property stdset="1"> 428 <property stdset="1">
429 <name>margin</name> 429 <name>margin</name>
430 <number>11</number> 430 <number>11</number>
431 </property> 431 </property>
432 <property stdset="1"> 432 <property stdset="1">
433 <name>spacing</name> 433 <name>spacing</name>
434 <number>6</number> 434 <number>6</number>
435 </property> 435 </property>
436 <widget row="0" column="0" rowspan="1" colspan="2" > 436 <widget row="0" column="0" rowspan="1" colspan="2" >
437 <class>QRadioButton</class> 437 <class>QRadioButton</class>
438 <property stdset="1"> 438 <property stdset="1">
439 <name>name</name> 439 <name>name</name>
440 <cstring>dial_manual</cstring> 440 <cstring>dial_manual</cstring>
441 </property> 441 </property>
442 <property stdset="1"> 442 <property stdset="1">
443 <name>text</name> 443 <name>text</name>
444 <string>Manual connect and disconnect</string> 444 <string>Manual connect and disconnect</string>
445 </property> 445 </property>
446 </widget> 446 </widget>
447 <widget row="3" column="1" > 447 <widget row="3" column="1" >
448 <class>QSpinBox</class> 448 <class>QSpinBox</class>
449 <property stdset="1"> 449 <property stdset="1">
450 <name>name</name> 450 <name>name</name>
451 <cstring>idletime</cstring> 451 <cstring>idletime</cstring>
452 </property> 452 </property>
453 <property stdset="1"> 453 <property stdset="1">
454 <name>suffix</name> 454 <name>suffix</name>
455 <string> seconds</string> 455 <string> seconds</string>
456 </property> 456 </property>
457 <property stdset="1"> 457 <property stdset="1">
458 <name>maxValue</name> 458 <name>maxValue</name>
459 <number>3600</number> 459 <number>3600</number>
460 </property> 460 </property>
461 <property stdset="1"> 461 <property stdset="1">
462 <name>lineStep</name> 462 <name>lineStep</name>
463 <number>30</number> 463 <number>30</number>
464 </property> 464 </property>
465 <property stdset="1"> 465 <property stdset="1">
466 <name>value</name> 466 <name>value</name>
467 <number>120</number> 467 <number>120</number>
468 </property> 468 </property>
469 </widget> 469 </widget>
470 <widget row="3" column="0" > 470 <widget row="3" column="0" >
471 <class>QLabel</class> 471 <class>QLabel</class>
472 <property stdset="1"> 472 <property stdset="1">
473 <name>name</name> 473 <name>name</name>
474 <cstring>TextLabel1_5</cstring> 474 <cstring>TextLabel1_5</cstring>
475 </property> 475 </property>
476 <property stdset="1"> 476 <property stdset="1">
477 <name>sizePolicy</name> 477 <name>sizePolicy</name>
478 <sizepolicy> 478 <sizepolicy>
479 <hsizetype>7</hsizetype> 479 <hsizetype>7</hsizetype>
480 <vsizetype>1</vsizetype> 480 <vsizetype>1</vsizetype>
481 </sizepolicy> 481 </sizepolicy>
482 </property> 482 </property>
483 <property stdset="1"> 483 <property stdset="1">
484 <name>text</name> 484 <name>text</name>
485 <string>Idle timeout:</string> 485 <string>Idle timeout:</string>
486 </property> 486 </property>
487 <property stdset="1"> 487 <property stdset="1">
488 <name>alignment</name> 488 <name>alignment</name>
489 <set>AlignVCenter|AlignRight</set> 489 <set>AlignVCenter|AlignRight</set>
490 </property> 490 </property>
491 <property> 491 <property>
492 <name>hAlign</name> 492 <name>hAlign</name>
493 </property> 493 </property>
494 </widget> 494 </widget>
495 <widget row="2" column="0" rowspan="1" colspan="2" > 495 <widget row="2" column="0" rowspan="1" colspan="2" >
496 <class>QRadioButton</class> 496 <class>QRadioButton</class>
497 <property stdset="1"> 497 <property stdset="1">
498 <name>name</name> 498 <name>name</name>
499 <cstring>dial_demand</cstring> 499 <cstring>dial_demand</cstring>
500 </property> 500 </property>
501 <property stdset="1"> 501 <property stdset="1">
502 <name>text</name> 502 <name>text</name>
503 <string>Automatic connect and disconnect</string> 503 <string>Automatic connect and disconnect</string>
504 </property> 504 </property>
505 <property stdset="1"> 505 <property stdset="1">
506 <name>checked</name> 506 <name>checked</name>
507 <bool>true</bool> 507 <bool>true</bool>
508 </property> 508 </property>
509 <property stdset="1"> 509 <property stdset="1">
510 <name>buttonGroupId</name> 510 <name>buttonGroupId</name>
511 <number>2</number> 511 <number>2</number>
512 </property> 512 </property>
513 </widget> 513 </widget>
514 <widget row="1" column="0" rowspan="1" colspan="2" > 514 <widget row="1" column="0" rowspan="1" colspan="2" >
515 <class>QRadioButton</class> 515 <class>QRadioButton</class>
516 <property stdset="1"> 516 <property stdset="1">
517 <name>name</name> 517 <name>name</name>
518 <cstring>dial_idle</cstring> 518 <cstring>dial_idle</cstring>
519 </property> 519 </property>
520 <property stdset="1"> 520 <property stdset="1">
521 <name>text</name> 521 <name>text</name>
522 <string>Manual connect, automatic disconnect</string> 522 <string>Manual connect, automatic disconnect</string>
523 </property> 523 </property>
524 <property stdset="1"> 524 <property stdset="1">
525 <name>buttonGroupId</name> 525 <name>buttonGroupId</name>
526 <number>1</number> 526 <number>1</number>
527 </property> 527 </property>
528 </widget> 528 </widget>
529 </grid> 529 </grid>
530 </widget> 530 </widget>
531 </grid> 531 </grid>
532 </widget> 532 </widget>
533 <widget> 533 <widget>
534 <class>QWidget</class> 534 <class>QWidget</class>
535 <property stdset="1"> 535 <property stdset="1">
536 <name>name</name> 536 <name>name</name>
537 <cstring>tab</cstring> 537 <cstring>tab</cstring>
538 </property> 538 </property>
539 <attribute> 539 <attribute>
540 <name>title</name> 540 <name>title</name>
541 <string>Network</string> 541 <string>Network</string>
542 </attribute> 542 </attribute>
543 <grid> 543 <grid>
544 <property stdset="1"> 544 <property stdset="1">
545 <name>margin</name> 545 <name>margin</name>
546 <number>6</number> 546 <number>6</number>
547 </property> 547 </property>
548 <property stdset="1"> 548 <property stdset="1">
549 <name>spacing</name> 549 <name>spacing</name>
550 <number>4</number> 550 <number>4</number>
551 </property> 551 </property>
552 <spacer row="4" column="1" > 552 <spacer row="4" column="1" >
553 <property> 553 <property>
554 <name>name</name> 554 <name>name</name>
555 <cstring>Spacer8</cstring> 555 <cstring>Spacer8</cstring>
556 </property> 556 </property>
557 <property stdset="1"> 557 <property stdset="1">
558 <name>orientation</name> 558 <name>orientation</name>
559 <enum>Vertical</enum> 559 <enum>Vertical</enum>
560 </property> 560 </property>
561 <property stdset="1"> 561 <property stdset="1">
562 <name>sizeType</name> 562 <name>sizeType</name>
563 <enum>Expanding</enum> 563 <enum>Expanding</enum>
564 </property> 564 </property>
565 <property> 565 <property>
566 <name>sizeHint</name> 566 <name>sizeHint</name>
567 <size> 567 <size>
568 <width>20</width> 568 <width>20</width>
569 <height>20</height> 569 <height>20</height>
570 </size> 570 </size>
571 </property> 571 </property>
572 </spacer> 572 </spacer>
573 <widget row="2" column="0" > 573 <widget row="2" column="0" >
574 <class>QCheckBox</class> 574 <class>QCheckBox</class>
575 <property stdset="1"> 575 <property stdset="1">
576 <name>name</name> 576 <name>name</name>
577 <cstring>usepeerdns</cstring> 577 <cstring>usepeerdns</cstring>
578 </property> 578 </property>
579 <property stdset="1"> 579 <property stdset="1">
580 <name>text</name> 580 <name>text</name>
581 <string>Auto-detect name servers</string> 581 <string>Auto-detect name servers</string>
582 </property> 582 </property>
583 <property stdset="1"> 583 <property stdset="1">
584 <name>checked</name> 584 <name>checked</name>
585 <bool>true</bool> 585 <bool>true</bool>
586 </property> 586 </property>
587 </widget> 587 </widget>
588 <widget row="1" column="0" rowspan="1" colspan="2" > 588 <widget row="1" column="0" rowspan="1" colspan="2" >
589 <class>QGroupBox</class> 589 <class>QGroupBox</class>
590 <property stdset="1"> 590 <property stdset="1">
591 <name>name</name> 591 <name>name</name>
592 <cstring>gatewaybox</cstring> 592 <cstring>gatewaybox</cstring>
593 </property> 593 </property>
594 <property stdset="1"> 594 <property stdset="1">
595 <name>enabled</name> 595 <name>enabled</name>
596 <bool>false</bool> 596 <bool>false</bool>
597 </property> 597 </property>
598 <property stdset="1"> 598 <property stdset="1">
599 <name>title</name> 599 <name>title</name>
600 <string></string> 600 <string></string>
601 </property> 601 </property>
602 <hbox> 602 <hbox>
603 <property stdset="1"> 603 <property stdset="1">
604 <name>margin</name> 604 <name>margin</name>
605 <number>11</number> 605 <number>11</number>
606 </property> 606 </property>
607 <property stdset="1"> 607 <property stdset="1">
608 <name>spacing</name> 608 <name>spacing</name>
609 <number>6</number> 609 <number>6</number>
610 </property> 610 </property>
611 <widget> 611 <widget>
612 <class>QLabel</class> 612 <class>QLabel</class>
613 <property stdset="1"> 613 <property stdset="1">
614 <name>name</name> 614 <name>name</name>
615 <cstring>TextLabel4_2</cstring> 615 <cstring>TextLabel4_2</cstring>
616 </property> 616 </property>
617 <property stdset="1"> 617 <property stdset="1">
618 <name>text</name> 618 <name>text</name>
619 <string>Gateway</string> 619 <string>Gateway</string>
620 </property> 620 </property>
621 </widget> 621 </widget>
622 <widget> 622 <widget>
623 <class>QLineEdit</class> 623 <class>QLineEdit</class>
624 <property stdset="1"> 624 <property stdset="1">
625 <name>name</name> 625 <name>name</name>
626 <cstring>gateway</cstring> 626 <cstring>gateway</cstring>
627 </property> 627 </property>
628 <property stdset="1"> 628 <property stdset="1">
629 <name>text</name> 629 <name>text</name>
630 <string></string> 630 <string></string>
631 </property> 631 </property>
632 </widget> 632 </widget>
633 </hbox> 633 </hbox>
634 </widget> 634 </widget>
635 <widget row="0" column="0" rowspan="1" colspan="2" > 635 <widget row="0" column="0" rowspan="1" colspan="2" >
636 <class>QCheckBox</class> 636 <class>QCheckBox</class>
637 <property stdset="1"> 637 <property stdset="1">
638 <name>name</name> 638 <name>name</name>
639 <cstring>defaultroute</cstring> 639 <cstring>defaultroute</cstring>
640 </property> 640 </property>
641 <property stdset="1"> 641 <property stdset="1">
642 <name>text</name> 642 <name>text</name>
643 <string>Auto-detect routing</string> 643 <string>Auto-detect routing</string>
644 </property> 644 </property>
645 <property stdset="1"> 645 <property stdset="1">
646 <name>checked</name> 646 <name>checked</name>
647 <bool>true</bool> 647 <bool>true</bool>
648 </property> 648 </property>
649 </widget> 649 </widget>
650 <widget row="3" column="0" rowspan="1" colspan="2" > 650 <widget row="3" column="0" rowspan="1" colspan="2" >
651 <class>QGroupBox</class> 651 <class>QGroupBox</class>
652 <property stdset="1"> 652 <property stdset="1">
653 <name>name</name> 653 <name>name</name>
654 <cstring>dnsbox</cstring> 654 <cstring>dnsbox</cstring>
655 </property> 655 </property>
656 <property stdset="1"> 656 <property stdset="1">
657 <name>enabled</name> 657 <name>enabled</name>
658 <bool>false</bool> 658 <bool>false</bool>
659 </property> 659 </property>
660 <property stdset="1"> 660 <property stdset="1">
661 <name>title</name> 661 <name>title</name>
662 <string></string> 662 <string></string>
663 </property> 663 </property>
664 <grid> 664 <grid>
665 <property stdset="1"> 665 <property stdset="1">
666 <name>margin</name> 666 <name>margin</name>
667 <number>11</number> 667 <number>11</number>
668 </property> 668 </property>
669 <property stdset="1"> 669 <property stdset="1">
670 <name>spacing</name> 670 <name>spacing</name>
671 <number>6</number> 671 <number>6</number>
672 </property> 672 </property>
673 <widget row="0" column="1" > 673 <widget row="0" column="1" >
674 <class>QLineEdit</class> 674 <class>QLineEdit</class>
675 <property stdset="1"> 675 <property stdset="1">
676 <name>name</name> 676 <name>name</name>
677 <cstring>dns1</cstring> 677 <cstring>dns1</cstring>
678 </property> 678 </property>
679 <property stdset="1"> 679 <property stdset="1">
680 <name>text</name> 680 <name>text</name>
681 <string></string> 681 <string></string>
682 </property> 682 </property>
683 </widget> 683 </widget>
684 <widget row="1" column="1" > 684 <widget row="1" column="1" >
685 <class>QLineEdit</class> 685 <class>QLineEdit</class>
686 <property stdset="1"> 686 <property stdset="1">
687 <name>name</name> 687 <name>name</name>
688 <cstring>dns2</cstring> 688 <cstring>dns2</cstring>
689 </property> 689 </property>
690 <property stdset="1"> 690 <property stdset="1">
691 <name>text</name> 691 <name>text</name>
692 <string></string> 692 <string></string>
693 </property> 693 </property>
694 </widget> 694 </widget>
695 <widget row="0" column="0" > 695 <widget row="0" column="0" >
696 <class>QLabel</class> 696 <class>QLabel</class>
697 <property stdset="1"> 697 <property stdset="1">
698 <name>name</name> 698 <name>name</name>
699 <cstring>TextLabel1_2_3</cstring> 699 <cstring>TextLabel1_2_3</cstring>
700 </property> 700 </property>
701 <property stdset="1"> 701 <property stdset="1">
702 <name>text</name> 702 <name>text</name>
703 <string>First DNS</string> 703 <string>First DNS</string>
704 </property> 704 </property>
705 </widget> 705 </widget>
706 <widget row="1" column="0" > 706 <widget row="1" column="0" >
707 <class>QLabel</class> 707 <class>QLabel</class>
708 <property stdset="1"> 708 <property stdset="1">
709 <name>name</name> 709 <name>name</name>
710 <cstring>TextLabel1_2_2_2</cstring> 710 <cstring>TextLabel1_2_2_2</cstring>
711 </property> 711 </property>
712 <property stdset="1"> 712 <property stdset="1">
713 <name>text</name> 713 <name>text</name>
714 <string>Second DNS</string> 714 <string>Second DNS</string>
715 </property> 715 </property>
716 </widget> 716 </widget>
717 </grid> 717 </grid>
718 </widget> 718 </widget>
719 </grid> 719 </grid>
720 </widget> 720 </widget>
721 </widget> 721 </widget>
722 </vbox> 722 </vbox>
723</widget> 723</widget>
724<connections> 724<connections>
725 <connection> 725 <connection>
726 <sender>defaultroute</sender> 726 <sender>defaultroute</sender>
727 <signal>toggled(bool)</signal> 727 <signal>toggled(bool)</signal>
728 <receiver>gatewaybox</receiver> 728 <receiver>gatewaybox</receiver>
729 <slot>setDisabled(bool)</slot> 729 <slot>setDisabled(bool)</slot>
730 </connection> 730 </connection>
731 <connection> 731 <connection>
732 <sender>usepeerdns</sender> 732 <sender>usepeerdns</sender>
733 <signal>toggled(bool)</signal> 733 <signal>toggled(bool)</signal>
734 <receiver>dnsbox</receiver> 734 <receiver>dnsbox</receiver>
735 <slot>setDisabled(bool)</slot> 735 <slot>setDisabled(bool)</slot>
736 </connection> 736 </connection>
737 <connection> 737 <connection>
738 <sender>connectdelay</sender>
739 <signal>valueChanged(int)</signal>
740 <receiver>connectdelay_text</receiver>
741 <slot>setNum(int)</slot>
742 </connection>
743 <connection>
744 <sender>dial_manual</sender> 738 <sender>dial_manual</sender>
745 <signal>toggled(bool)</signal> 739 <signal>toggled(bool)</signal>
746 <receiver>idletime</receiver> 740 <receiver>idletime</receiver>
747 <slot>setDisabled(bool)</slot> 741 <slot>setDisabled(bool)</slot>
748 </connection> 742 </connection>
743 <connection>
744 <sender>connectdelay</sender>
745 <signal>valueChanged(int)</signal>
746 <receiver>connectdelay_text</receiver>
747 <slot>setNum(int)</slot>
748 </connection>
749</connections> 749</connections>
750<tabstops> 750<tabstops>
751 <tabstop>TabWidget2</tabstop> 751 <tabstop>TabWidget2</tabstop>
752 <tabstop>acname</tabstop> 752 <tabstop>acname</tabstop>
753 <tabstop>username</tabstop> 753 <tabstop>username</tabstop>
754 <tabstop>password</tabstop> 754 <tabstop>password</tabstop>
755 <tabstop>phone</tabstop> 755 <tabstop>phone</tabstop>
756 <tabstop>atdial</tabstop> 756 <tabstop>atdial</tabstop>
757 <tabstop>speed</tabstop> 757 <tabstop>speed</tabstop>
758 <tabstop>crtscts</tabstop> 758 <tabstop>crtscts</tabstop>
759 <tabstop>connectdelay</tabstop> 759 <tabstop>connectdelay</tabstop>
760 <tabstop>dial_manual</tabstop> 760 <tabstop>dial_manual</tabstop>
761 <tabstop>dial_idle</tabstop> 761 <tabstop>dial_idle</tabstop>
762 <tabstop>dial_demand</tabstop> 762 <tabstop>dial_demand</tabstop>
763 <tabstop>idletime</tabstop> 763 <tabstop>idletime</tabstop>
764 <tabstop>defaultroute</tabstop> 764 <tabstop>defaultroute</tabstop>
765 <tabstop>gateway</tabstop> 765 <tabstop>gateway</tabstop>
766 <tabstop>usepeerdns</tabstop> 766 <tabstop>usepeerdns</tabstop>
767 <tabstop>dns1</tabstop> 767 <tabstop>dns1</tabstop>
768 <tabstop>dns2</tabstop> 768 <tabstop>dns2</tabstop>
769</tabstops> 769</tabstops>
770</UI> 770</UI>
diff --git a/noncore/settings/networksettings/ppp/pppimp.cpp b/noncore/settings/networksettings/ppp/pppimp.cpp
new file mode 100644
index 0000000..e3a7481
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/pppimp.cpp
@@ -0,0 +1,4 @@
1#include "pppimp.h"
2
3// pppconfigureimp.h
4
diff --git a/noncore/settings/networksettings/ppp/pppimp.h b/noncore/settings/networksettings/ppp/pppimp.h
new file mode 100644
index 0000000..60d29b5
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/pppimp.h
@@ -0,0 +1,17 @@
1#ifndef PPPIMP_H
2#define PPPIMP_H
3
4#include "ppp.h"
5
6class PPPConfigureImp : public PPP {
7
8public:
9 PPPConfigureImp();
10 ~PPPConfigureImp();
11
12};
13
14#endif
15
16// pppconfigureimp.h
17
diff --git a/noncore/settings/networksettings/ppp/pppmodule.cpp b/noncore/settings/networksettings/ppp/pppmodule.cpp
new file mode 100644
index 0000000..68bb0a0
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/pppmodule.cpp
@@ -0,0 +1,104 @@
1#include "pppmodule.h"
2#include "interfaceinformationimp.h"
3
4/**
5 * Constructor, find all of the possible interfaces
6 */
7PPPModule::PPPModule() : Module() {
8}
9
10/**
11 * Delete any interfaces that we own.
12 */
13PPPModule::~PPPModule(){
14 Interface *i;
15 for ( i=list.first(); i != 0; i=list.next() )
16 delete i;
17}
18
19/**
20 * Change the current profile
21 */
22void PPPModule::setProfile(const QString &newProfile){
23 profile = newProfile;
24}
25
26/**
27 * get the icon name for this device.
28 * @param Interface* can be used in determining the icon.
29 * @return QString the icon name (minus .png, .gif etc)
30 */
31QString PPPModule::getPixmapName(Interface* ){
32 return "ppp";
33}
34
35/**
36 * Check to see if the interface i is owned by this module.
37 * @param Interface* interface to check against
38 * @return bool true if i is owned by this module, false otherwise.
39 */
40bool PPPModule::isOwner(Interface *i){
41 // Scan the ppp database
42 return false;
43
44 i->setHardwareName("PPP");
45 list.append(i);
46 return true;
47}
48
49/**
50 * Create, and return the WLANConfigure Module
51 * @return QWidget* pointer to this modules configure.
52 */
53QWidget *PPPModule::configure(Interface *i){
54 return NULL;
55 //PPPConfigureImp *pppconfig = new PPPConfigureImp(0, "PPPConfig", i, false, Qt::WDestructiveClose);
56 //pppconfig->setProfile(profile);
57 //return wlanconfig;
58}
59
60/**
61 * Create, and return the Information Module
62 * @return QWidget* pointer to this modules info.
63 */
64QWidget *PPPModule::information(Interface *i){
65 return NULL;
66
67 //WlanInfoImp *info = new WlanInfoImp(0, i->getInterfaceName(), Qt::WDestructiveClose);
68 //InterfaceInformationImp *information = new InterfaceInformationImp(info->tabWidget, "InterfaceSetupImp", i);
69 //info->tabWidget->insertTab(information, "TCP/IP");
70 //return info;
71}
72
73/**
74 * Get all active (up or down) interfaces
75 * @return QList<Interface> A list of interfaces that exsist that havn't
76 * been called by isOwner()
77 */
78QList<Interface> PPPModule::getInterfaces(){
79 return list;
80}
81
82/**
83 * Attempt to add a new interface as defined by name
84 * @param name the name of the type of interface that should be created given
85 * by possibleNewInterfaces();
86 * @return Interface* NULL if it was unable to be created.
87 */
88Interface *PPPModule::addNewInterface(const QString &newInterface){
89 // We can't add a 802.11 interface, either the hardware will be there
90 // or it wont.
91 return NULL;
92}
93
94/**
95 * Attempts to remove the interface, doesn't delete i
96 * @return bool true if successfull, false otherwise.
97 */
98bool PPPModule::remove(Interface*){
99 // Can't remove a hardware device, you can stop it though.
100 return false;
101}
102
103// pppmodule.cpp
104
diff --git a/noncore/settings/networksettings/ppp/pppmodule.h b/noncore/settings/networksettings/ppp/pppmodule.h
new file mode 100644
index 0000000..c8e77e2
--- a/dev/null
+++ b/noncore/settings/networksettings/ppp/pppmodule.h
@@ -0,0 +1,41 @@
1#ifndef PPP_MODULE_H
2#define PPP_MODULE_H
3
4#include "module.h"
5
6class PPPModule : Module {
7
8signals:
9 void updateInterface(Interface *i);
10
11public:
12 PPPModule();
13 ~PPPModule();
14
15 virtual void setProfile(const QString &newProfile);
16 virtual bool isOwner(Interface *);
17 virtual QWidget *configure(Interface *i);
18 virtual QWidget *information(Interface *i);
19 virtual QList<Interface> getInterfaces();
20 virtual void possibleNewInterfaces(QMap<QString, QString> &){};
21 virtual Interface *addNewInterface(const QString &name);
22 virtual bool remove(Interface* i);
23 virtual QString getPixmapName(Interface* i);
24
25private:
26 QList<Interface> list;
27 QString profile;
28
29};
30
31extern "C"
32{
33 void* create_plugin() {
34 return new PPPModule();
35 }
36};
37
38#endif
39
40// pppmodule.h
41