author | tille <tille> | 2003-05-23 19:47:14 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-23 19:47:14 (UTC) |
commit | cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d (patch) (unidiff) | |
tree | 2230576385949c61719a4f0a4ec760ac34cbc34b | |
parent | 9b6b21112f38181f49b07e973bfe00c0d83a6900 (diff) | |
download | opie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.zip opie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.tar.gz opie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.tar.bz2 |
bye bye
-rw-r--r-- | noncore/settings/networksettings/ppp/ppp.ui | 824 | ||||
-rw-r--r-- | noncore/settings/networksettings/ppp/pppimp.cpp | 60 | ||||
-rw-r--r-- | noncore/settings/networksettings/ppp/pppimp.h | 27 |
3 files changed, 0 insertions, 911 deletions
diff --git a/noncore/settings/networksettings/ppp/ppp.ui b/noncore/settings/networksettings/ppp/ppp.ui deleted file mode 100644 index 2fcb419..0000000 --- a/noncore/settings/networksettings/ppp/ppp.ui +++ b/dev/null | |||
@@ -1,824 +0,0 @@ | |||
1 | <!DOCTYPE UI><UI> | ||
2 | <class>PPP</class> | ||
3 | <widget> | ||
4 | <class>QDialog</class> | ||
5 | <property stdset="1"> | ||
6 | <name>name</name> | ||
7 | <cstring>PPP</cstring> | ||
8 | </property> | ||
9 | <property stdset="1"> | ||
10 | <name>geometry</name> | ||
11 | <rect> | ||
12 | <x>0</x> | ||
13 | <y>0</y> | ||
14 | <width>355</width> | ||
15 | <height>418</height> | ||
16 | </rect> | ||
17 | </property> | ||
18 | <property stdset="1"> | ||
19 | <name>sizePolicy</name> | ||
20 | <sizepolicy> | ||
21 | <hsizetype>3</hsizetype> | ||
22 | <vsizetype>3</vsizetype> | ||
23 | </sizepolicy> | ||
24 | </property> | ||
25 | <property stdset="1"> | ||
26 | <name>caption</name> | ||
27 | <string>Dial-up </string> | ||
28 | </property> | ||
29 | <property> | ||
30 | <name>layoutMargin</name> | ||
31 | </property> | ||
32 | <property> | ||
33 | <name>layoutSpacing</name> | ||
34 | </property> | ||
35 | <vbox> | ||
36 | <property stdset="1"> | ||
37 | <name>margin</name> | ||
38 | <number>1</number> | ||
39 | </property> | ||
40 | <property stdset="1"> | ||
41 | <name>spacing</name> | ||
42 | <number>0</number> | ||
43 | </property> | ||
44 | <widget> | ||
45 | <class>QTabWidget</class> | ||
46 | <property stdset="1"> | ||
47 | <name>name</name> | ||
48 | <cstring>TabWidget2</cstring> | ||
49 | </property> | ||
50 | <property> | ||
51 | <name>layoutMargin</name> | ||
52 | </property> | ||
53 | <property> | ||
54 | <name>layoutSpacing</name> | ||
55 | </property> | ||
56 | <widget> | ||
57 | <class>QWidget</class> | ||
58 | <property stdset="1"> | ||
59 | <name>name</name> | ||
60 | <cstring>tab</cstring> | ||
61 | </property> | ||
62 | <attribute> | ||
63 | <name>title</name> | ||
64 | <string>Account</string> | ||
65 | </attribute> | ||
66 | <grid> | ||
67 | <property stdset="1"> | ||
68 | <name>margin</name> | ||
69 | <number>6</number> | ||
70 | </property> | ||
71 | <property stdset="1"> | ||
72 | <name>spacing</name> | ||
73 | <number>4</number> | ||
74 | </property> | ||
75 | <widget row="3" column="1" > | ||
76 | <class>QLineEdit</class> | ||
77 | <property stdset="1"> | ||
78 | <name>name</name> | ||
79 | <cstring>password</cstring> | ||
80 | </property> | ||
81 | <property stdset="1"> | ||
82 | <name>echoMode</name> | ||
83 | <enum>Password</enum> | ||
84 | </property> | ||
85 | </widget> | ||
86 | <widget row="2" column="1" > | ||
87 | <class>QLineEdit</class> | ||
88 | <property stdset="1"> | ||
89 | <name>name</name> | ||
90 | <cstring>username</cstring> | ||
91 | </property> | ||
92 | </widget> | ||
93 | <widget row="2" column="0" > | ||
94 | <class>QLabel</class> | ||
95 | <property stdset="1"> | ||
96 | <name>name</name> | ||
97 | <cstring>TextLabel1</cstring> | ||
98 | </property> | ||
99 | <property stdset="1"> | ||
100 | <name>text</name> | ||
101 | <string>Username</string> | ||
102 | </property> | ||
103 | </widget> | ||
104 | <widget row="3" column="0" > | ||
105 | <class>QLabel</class> | ||
106 | <property stdset="1"> | ||
107 | <name>name</name> | ||
108 | <cstring>TextLabel2</cstring> | ||
109 | </property> | ||
110 | <property stdset="1"> | ||
111 | <name>text</name> | ||
112 | <string>Password</string> | ||
113 | </property> | ||
114 | </widget> | ||
115 | <widget row="5" column="0" > | ||
116 | <class>QLabel</class> | ||
117 | <property stdset="1"> | ||
118 | <name>name</name> | ||
119 | <cstring>TextLabel1_2_2</cstring> | ||
120 | </property> | ||
121 | <property stdset="1"> | ||
122 | <name>text</name> | ||
123 | <string>Phone #</string> | ||
124 | </property> | ||
125 | </widget> | ||
126 | <widget row="5" column="1" > | ||
127 | <class>QLineEdit</class> | ||
128 | <property stdset="1"> | ||
129 | <name>name</name> | ||
130 | <cstring>phone</cstring> | ||
131 | </property> | ||
132 | </widget> | ||
133 | <widget row="4" column="0" rowspan="1" colspan="2" > | ||
134 | <class>Line</class> | ||
135 | <property stdset="1"> | ||
136 | <name>name</name> | ||
137 | <cstring>Line3</cstring> | ||
138 | </property> | ||
139 | <property stdset="1"> | ||
140 | <name>orientation</name> | ||
141 | <enum>Horizontal</enum> | ||
142 | </property> | ||
143 | </widget> | ||
144 | <widget row="0" column="1" > | ||
145 | <class>QLineEdit</class> | ||
146 | <property stdset="1"> | ||
147 | <name>name</name> | ||
148 | <cstring>acname</cstring> | ||
149 | </property> | ||
150 | </widget> | ||
151 | <widget row="0" column="0" > | ||
152 | <class>QLabel</class> | ||
153 | <property stdset="1"> | ||
154 | <name>name</name> | ||
155 | <cstring>TextLabel1_2</cstring> | ||
156 | </property> | ||
157 | <property stdset="1"> | ||
158 | <name>text</name> | ||
159 | <string>Name</string> | ||
160 | </property> | ||
161 | </widget> | ||
162 | <widget row="1" column="0" rowspan="1" colspan="2" > | ||
163 | <class>Line</class> | ||
164 | <property stdset="1"> | ||
165 | <name>name</name> | ||
166 | <cstring>Line4</cstring> | ||
167 | </property> | ||
168 | <property stdset="1"> | ||
169 | <name>orientation</name> | ||
170 | <enum>Horizontal</enum> | ||
171 | </property> | ||
172 | </widget> | ||
173 | <spacer row="9" column="1" > | ||
174 | <property> | ||
175 | <name>name</name> | ||
176 | <cstring>Spacer4</cstring> | ||
177 | </property> | ||
178 | <property stdset="1"> | ||
179 | <name>orientation</name> | ||
180 | <enum>Vertical</enum> | ||
181 | </property> | ||
182 | <property stdset="1"> | ||
183 | <name>sizeType</name> | ||
184 | <enum>Expanding</enum> | ||
185 | </property> | ||
186 | <property> | ||
187 | <name>sizeHint</name> | ||
188 | <size> | ||
189 | <width>20</width> | ||
190 | <height>20</height> | ||
191 | </size> | ||
192 | </property> | ||
193 | </spacer> | ||
194 | </grid> | ||
195 | </widget> | ||
196 | <widget> | ||
197 | <class>QWidget</class> | ||
198 | <property stdset="1"> | ||
199 | <name>name</name> | ||
200 | <cstring>tab</cstring> | ||
201 | </property> | ||
202 | <attribute> | ||
203 | <name>title</name> | ||
204 | <string>Modem</string> | ||
205 | </attribute> | ||
206 | <grid> | ||
207 | <property stdset="1"> | ||
208 | <name>margin</name> | ||
209 | <number>11</number> | ||
210 | </property> | ||
211 | <property stdset="1"> | ||
212 | <name>spacing</name> | ||
213 | <number>6</number> | ||
214 | </property> | ||
215 | <widget row="4" column="2" rowspan="1" colspan="3" > | ||
216 | <class>QPushButton</class> | ||
217 | <property stdset="1"> | ||
218 | <name>name</name> | ||
219 | <cstring>PushButtonQuery</cstring> | ||
220 | </property> | ||
221 | <property stdset="1"> | ||
222 | <name>sizePolicy</name> | ||
223 | <sizepolicy> | ||
224 | <hsizetype>3</hsizetype> | ||
225 | <vsizetype>0</vsizetype> | ||
226 | </sizepolicy> | ||
227 | </property> | ||
228 | <property stdset="1"> | ||
229 | <name>text</name> | ||
230 | <string>Query Modem</string> | ||
231 | </property> | ||
232 | </widget> | ||
233 | <widget row="4" column="1" > | ||
234 | <class>QComboBox</class> | ||
235 | <property stdset="1"> | ||
236 | <name>name</name> | ||
237 | <cstring>ComboBoxDevice</cstring> | ||
238 | </property> | ||
239 | </widget> | ||
240 | <widget row="4" column="0" > | ||
241 | <class>QLabel</class> | ||
242 | <property stdset="1"> | ||
243 | <name>name</name> | ||
244 | <cstring>TextLabel1_6</cstring> | ||
245 | </property> | ||
246 | <property stdset="1"> | ||
247 | <name>text</name> | ||
248 | <string>Device</string> | ||
249 | </property> | ||
250 | </widget> | ||
251 | <widget row="0" column="0" > | ||
252 | <class>QLabel</class> | ||
253 | <property stdset="1"> | ||
254 | <name>name</name> | ||
255 | <cstring>TextLabel3_2_2</cstring> | ||
256 | </property> | ||
257 | <property stdset="1"> | ||
258 | <name>text</name> | ||
259 | <string>AT-dial</string> | ||
260 | </property> | ||
261 | </widget> | ||
262 | <widget row="0" column="1" rowspan="1" colspan="4" > | ||
263 | <class>QComboBox</class> | ||
264 | <item> | ||
265 | <property> | ||
266 | <name>text</name> | ||
267 | <string>ATDT</string> | ||
268 | </property> | ||
269 | </item> | ||
270 | <item> | ||
271 | <property> | ||
272 | <name>text</name> | ||
273 | <string>ATDP</string> | ||
274 | </property> | ||
275 | </item> | ||
276 | <property stdset="1"> | ||
277 | <name>name</name> | ||
278 | <cstring>atdial</cstring> | ||
279 | </property> | ||
280 | <property stdset="1"> | ||
281 | <name>editable</name> | ||
282 | <bool>true</bool> | ||
283 | </property> | ||
284 | <property stdset="1"> | ||
285 | <name>currentItem</name> | ||
286 | <number>0</number> | ||
287 | </property> | ||
288 | </widget> | ||
289 | <widget row="1" column="0" > | ||
290 | <class>QLabel</class> | ||
291 | <property stdset="1"> | ||
292 | <name>name</name> | ||
293 | <cstring>TextLabel1_4</cstring> | ||
294 | </property> | ||
295 | <property stdset="1"> | ||
296 | <name>text</name> | ||
297 | <string>Speed</string> | ||
298 | </property> | ||
299 | </widget> | ||
300 | <widget row="1" column="1" rowspan="1" colspan="4" > | ||
301 | <class>QComboBox</class> | ||
302 | <item> | ||
303 | <property> | ||
304 | <name>text</name> | ||
305 | <string>4800</string> | ||
306 | </property> | ||
307 | </item> | ||
308 | <item> | ||
309 | <property> | ||
310 | <name>text</name> | ||
311 | <string>9600</string> | ||
312 | </property> | ||
313 | </item> | ||
314 | <item> | ||
315 | <property> | ||
316 | <name>text</name> | ||
317 | <string>19200</string> | ||
318 | </property> | ||
319 | </item> | ||
320 | <item> | ||
321 | <property> | ||
322 | <name>text</name> | ||
323 | <string>38400</string> | ||
324 | </property> | ||
325 | </item> | ||
326 | <item> | ||
327 | <property> | ||
328 | <name>text</name> | ||
329 | <string>57600</string> | ||
330 | </property> | ||
331 | </item> | ||
332 | <item> | ||
333 | <property> | ||
334 | <name>text</name> | ||
335 | <string>115200</string> | ||
336 | </property> | ||
337 | </item> | ||
338 | <property stdset="1"> | ||
339 | <name>name</name> | ||
340 | <cstring>speed</cstring> | ||
341 | </property> | ||
342 | <property stdset="1"> | ||
343 | <name>currentItem</name> | ||
344 | <number>5</number> | ||
345 | </property> | ||
346 | </widget> | ||
347 | <widget row="3" column="1" rowspan="1" colspan="2" > | ||
348 | <class>QSlider</class> | ||
349 | <property stdset="1"> | ||
350 | <name>name</name> | ||
351 | <cstring>connectdelay</cstring> | ||
352 | </property> | ||
353 | <property stdset="1"> | ||
354 | <name>minValue</name> | ||
355 | <number>1</number> | ||
356 | </property> | ||
357 | <property stdset="1"> | ||
358 | <name>maxValue</name> | ||
359 | <number>180</number> | ||
360 | </property> | ||
361 | <property stdset="1"> | ||
362 | <name>value</name> | ||
363 | <number>6</number> | ||
364 | </property> | ||
365 | <property stdset="1"> | ||
366 | <name>orientation</name> | ||
367 | <enum>Horizontal</enum> | ||
368 | </property> | ||
369 | </widget> | ||
370 | <widget row="3" column="0" > | ||
371 | <class>QLabel</class> | ||
372 | <property stdset="1"> | ||
373 | <name>name</name> | ||
374 | <cstring>TextLabel1_3</cstring> | ||
375 | </property> | ||
376 | <property stdset="1"> | ||
377 | <name>text</name> | ||
378 | <string>Wait time</string> | ||
379 | </property> | ||
380 | </widget> | ||
381 | <widget row="3" column="3" > | ||
382 | <class>QLabel</class> | ||
383 | <property stdset="1"> | ||
384 | <name>name</name> | ||
385 | <cstring>connectdelay_text</cstring> | ||
386 | </property> | ||
387 | <property stdset="1"> | ||
388 | <name>minimumSize</name> | ||
389 | <size> | ||
390 | <width>15</width> | ||
391 | <height>0</height> | ||
392 | </size> | ||
393 | </property> | ||
394 | <property stdset="1"> | ||
395 | <name>text</name> | ||
396 | <string>6</string> | ||
397 | </property> | ||
398 | <property stdset="1"> | ||
399 | <name>alignment</name> | ||
400 | <set>AlignVCenter|AlignRight</set> | ||
401 | </property> | ||
402 | <property> | ||
403 | <name>hAlign</name> | ||
404 | </property> | ||
405 | </widget> | ||
406 | <widget row="3" column="4" > | ||
407 | <class>QLabel</class> | ||
408 | <property stdset="1"> | ||
409 | <name>name</name> | ||
410 | <cstring>TextLabel5</cstring> | ||
411 | </property> | ||
412 | <property stdset="1"> | ||
413 | <name>text</name> | ||
414 | <string>sec</string> | ||
415 | </property> | ||
416 | </widget> | ||
417 | <widget row="2" column="0" > | ||
418 | <class>QLabel</class> | ||
419 | <property stdset="1"> | ||
420 | <name>name</name> | ||
421 | <cstring>TextLabel3</cstring> | ||
422 | </property> | ||
423 | <property stdset="1"> | ||
424 | <name>text</name> | ||
425 | <string>Flow control</string> | ||
426 | </property> | ||
427 | </widget> | ||
428 | <widget row="2" column="1" rowspan="1" colspan="4" > | ||
429 | <class>QCheckBox</class> | ||
430 | <property stdset="1"> | ||
431 | <name>name</name> | ||
432 | <cstring>crtscts</cstring> | ||
433 | </property> | ||
434 | <property stdset="1"> | ||
435 | <name>text</name> | ||
436 | <string>Hardware flow control</string> | ||
437 | </property> | ||
438 | <property stdset="1"> | ||
439 | <name>checked</name> | ||
440 | <bool>true</bool> | ||
441 | </property> | ||
442 | </widget> | ||
443 | <spacer row="5" column="1" > | ||
444 | <property> | ||
445 | <name>name</name> | ||
446 | <cstring>Spacer5</cstring> | ||
447 | </property> | ||
448 | <property stdset="1"> | ||
449 | <name>orientation</name> | ||
450 | <enum>Vertical</enum> | ||
451 | </property> | ||
452 | <property stdset="1"> | ||
453 | <name>sizeType</name> | ||
454 | <enum>Expanding</enum> | ||
455 | </property> | ||
456 | <property> | ||
457 | <name>sizeHint</name> | ||
458 | <size> | ||
459 | <width>20</width> | ||
460 | <height>20</height> | ||
461 | </size> | ||
462 | </property> | ||
463 | </spacer> | ||
464 | <widget row="6" column="0" rowspan="1" colspan="5" > | ||
465 | <class>QButtonGroup</class> | ||
466 | <property stdset="1"> | ||
467 | <name>name</name> | ||
468 | <cstring>dialmode</cstring> | ||
469 | </property> | ||
470 | <property stdset="1"> | ||
471 | <name>sizePolicy</name> | ||
472 | <sizepolicy> | ||
473 | <hsizetype>3</hsizetype> | ||
474 | <vsizetype>5</vsizetype> | ||
475 | </sizepolicy> | ||
476 | </property> | ||
477 | <property stdset="1"> | ||
478 | <name>title</name> | ||
479 | <string>Demand Dialing</string> | ||
480 | </property> | ||
481 | <grid> | ||
482 | <property stdset="1"> | ||
483 | <name>margin</name> | ||
484 | <number>11</number> | ||
485 | </property> | ||
486 | <property stdset="1"> | ||
487 | <name>spacing</name> | ||
488 | <number>6</number> | ||
489 | </property> | ||
490 | <widget row="0" column="0" rowspan="1" colspan="2" > | ||
491 | <class>QRadioButton</class> | ||
492 | <property stdset="1"> | ||
493 | <name>name</name> | ||
494 | <cstring>dial_manual</cstring> | ||
495 | </property> | ||
496 | <property stdset="1"> | ||
497 | <name>text</name> | ||
498 | <string>Manual connect and disconnect</string> | ||
499 | </property> | ||
500 | </widget> | ||
501 | <widget row="3" column="1" > | ||
502 | <class>QSpinBox</class> | ||
503 | <property stdset="1"> | ||
504 | <name>name</name> | ||
505 | <cstring>idletime</cstring> | ||
506 | </property> | ||
507 | <property stdset="1"> | ||
508 | <name>suffix</name> | ||
509 | <string> seconds</string> | ||
510 | </property> | ||
511 | <property stdset="1"> | ||
512 | <name>maxValue</name> | ||
513 | <number>3600</number> | ||
514 | </property> | ||
515 | <property stdset="1"> | ||
516 | <name>lineStep</name> | ||
517 | <number>30</number> | ||
518 | </property> | ||
519 | <property stdset="1"> | ||
520 | <name>value</name> | ||
521 | <number>120</number> | ||
522 | </property> | ||
523 | </widget> | ||
524 | <widget row="3" column="0" > | ||
525 | <class>QLabel</class> | ||
526 | <property stdset="1"> | ||
527 | <name>name</name> | ||
528 | <cstring>TextLabel1_5</cstring> | ||
529 | </property> | ||
530 | <property stdset="1"> | ||
531 | <name>sizePolicy</name> | ||
532 | <sizepolicy> | ||
533 | <hsizetype>7</hsizetype> | ||
534 | <vsizetype>1</vsizetype> | ||
535 | </sizepolicy> | ||
536 | </property> | ||
537 | <property stdset="1"> | ||
538 | <name>text</name> | ||
539 | <string>Idle timeout:</string> | ||
540 | </property> | ||
541 | <property stdset="1"> | ||
542 | <name>alignment</name> | ||
543 | <set>AlignVCenter|AlignRight</set> | ||
544 | </property> | ||
545 | <property> | ||
546 | <name>hAlign</name> | ||
547 | </property> | ||
548 | </widget> | ||
549 | <widget row="2" column="0" rowspan="1" colspan="2" > | ||
550 | <class>QRadioButton</class> | ||
551 | <property stdset="1"> | ||
552 | <name>name</name> | ||
553 | <cstring>dial_demand</cstring> | ||
554 | </property> | ||
555 | <property stdset="1"> | ||
556 | <name>text</name> | ||
557 | <string>Automatic connect and disconnect</string> | ||
558 | </property> | ||
559 | <property stdset="1"> | ||
560 | <name>checked</name> | ||
561 | <bool>true</bool> | ||
562 | </property> | ||
563 | <property stdset="1"> | ||
564 | <name>buttonGroupId</name> | ||
565 | <number>2</number> | ||
566 | </property> | ||
567 | </widget> | ||
568 | <widget row="1" column="0" rowspan="1" colspan="2" > | ||
569 | <class>QRadioButton</class> | ||
570 | <property stdset="1"> | ||
571 | <name>name</name> | ||
572 | <cstring>dial_idle</cstring> | ||
573 | </property> | ||
574 | <property stdset="1"> | ||
575 | <name>text</name> | ||
576 | <string>Manual connect, automatic disconnect</string> | ||
577 | </property> | ||
578 | <property stdset="1"> | ||
579 | <name>buttonGroupId</name> | ||
580 | <number>1</number> | ||
581 | </property> | ||
582 | </widget> | ||
583 | </grid> | ||
584 | </widget> | ||
585 | </grid> | ||
586 | </widget> | ||
587 | <widget> | ||
588 | <class>QWidget</class> | ||
589 | <property stdset="1"> | ||
590 | <name>name</name> | ||
591 | <cstring>tab</cstring> | ||
592 | </property> | ||
593 | <attribute> | ||
594 | <name>title</name> | ||
595 | <string>Network</string> | ||
596 | </attribute> | ||
597 | <grid> | ||
598 | <property stdset="1"> | ||
599 | <name>margin</name> | ||
600 | <number>6</number> | ||
601 | </property> | ||
602 | <property stdset="1"> | ||
603 | <name>spacing</name> | ||
604 | <number>4</number> | ||
605 | </property> | ||
606 | <spacer row="4" column="1" > | ||
607 | <property> | ||
608 | <name>name</name> | ||
609 | <cstring>Spacer8</cstring> | ||
610 | </property> | ||
611 | <property stdset="1"> | ||
612 | <name>orientation</name> | ||
613 | <enum>Vertical</enum> | ||
614 | </property> | ||
615 | <property stdset="1"> | ||
616 | <name>sizeType</name> | ||
617 | <enum>Expanding</enum> | ||
618 | </property> | ||
619 | <property> | ||
620 | <name>sizeHint</name> | ||
621 | <size> | ||
622 | <width>20</width> | ||
623 | <height>20</height> | ||
624 | </size> | ||
625 | </property> | ||
626 | </spacer> | ||
627 | <widget row="2" column="0" > | ||
628 | <class>QCheckBox</class> | ||
629 | <property stdset="1"> | ||
630 | <name>name</name> | ||
631 | <cstring>usepeerdns</cstring> | ||
632 | </property> | ||
633 | <property stdset="1"> | ||
634 | <name>text</name> | ||
635 | <string>Auto-detect name servers</string> | ||
636 | </property> | ||
637 | <property stdset="1"> | ||
638 | <name>checked</name> | ||
639 | <bool>true</bool> | ||
640 | </property> | ||
641 | </widget> | ||
642 | <widget row="1" column="0" rowspan="1" colspan="2" > | ||
643 | <class>QGroupBox</class> | ||
644 | <property stdset="1"> | ||
645 | <name>name</name> | ||
646 | <cstring>gatewaybox</cstring> | ||
647 | </property> | ||
648 | <property stdset="1"> | ||
649 | <name>enabled</name> | ||
650 | <bool>false</bool> | ||
651 | </property> | ||
652 | <property stdset="1"> | ||
653 | <name>title</name> | ||
654 | <string></string> | ||
655 | </property> | ||
656 | <hbox> | ||
657 | <property stdset="1"> | ||
658 | <name>margin</name> | ||
659 | <number>11</number> | ||
660 | </property> | ||
661 | <property stdset="1"> | ||
662 | <name>spacing</name> | ||
663 | <number>6</number> | ||
664 | </property> | ||
665 | <widget> | ||
666 | <class>QLabel</class> | ||
667 | <property stdset="1"> | ||
668 | <name>name</name> | ||
669 | <cstring>TextLabel4_2</cstring> | ||
670 | </property> | ||
671 | <property stdset="1"> | ||
672 | <name>text</name> | ||
673 | <string>Gateway</string> | ||
674 | </property> | ||
675 | </widget> | ||
676 | <widget> | ||
677 | <class>QLineEdit</class> | ||
678 | <property stdset="1"> | ||
679 | <name>name</name> | ||
680 | <cstring>gateway</cstring> | ||
681 | </property> | ||
682 | <property stdset="1"> | ||
683 | <name>text</name> | ||
684 | <string></string> | ||
685 | </property> | ||
686 | </widget> | ||
687 | </hbox> | ||
688 | </widget> | ||
689 | <widget row="0" column="0" rowspan="1" colspan="2" > | ||
690 | <class>QCheckBox</class> | ||
691 | <property stdset="1"> | ||
692 | <name>name</name> | ||
693 | <cstring>defaultroute</cstring> | ||
694 | </property> | ||
695 | <property stdset="1"> | ||
696 | <name>text</name> | ||
697 | <string>Auto-detect routing</string> | ||
698 | </property> | ||
699 | <property stdset="1"> | ||
700 | <name>checked</name> | ||
701 | <bool>true</bool> | ||
702 | </property> | ||
703 | </widget> | ||
704 | <widget row="3" column="0" rowspan="1" colspan="2" > | ||
705 | <class>QGroupBox</class> | ||
706 | <property stdset="1"> | ||
707 | <name>name</name> | ||
708 | <cstring>dnsbox</cstring> | ||
709 | </property> | ||
710 | <property stdset="1"> | ||
711 | <name>enabled</name> | ||
712 | <bool>false</bool> | ||
713 | </property> | ||
714 | <property stdset="1"> | ||
715 | <name>title</name> | ||
716 | <string></string> | ||
717 | </property> | ||
718 | <grid> | ||
719 | <property stdset="1"> | ||
720 | <name>margin</name> | ||
721 | <number>11</number> | ||
722 | </property> | ||
723 | <property stdset="1"> | ||
724 | <name>spacing</name> | ||
725 | <number>6</number> | ||
726 | </property> | ||
727 | <widget row="0" column="1" > | ||
728 | <class>QLineEdit</class> | ||
729 | <property stdset="1"> | ||
730 | <name>name</name> | ||
731 | <cstring>dns1</cstring> | ||
732 | </property> | ||
733 | <property stdset="1"> | ||
734 | <name>text</name> | ||
735 | <string></string> | ||
736 | </property> | ||
737 | </widget> | ||
738 | <widget row="1" column="1" > | ||
739 | <class>QLineEdit</class> | ||
740 | <property stdset="1"> | ||
741 | <name>name</name> | ||
742 | <cstring>dns2</cstring> | ||
743 | </property> | ||
744 | <property stdset="1"> | ||
745 | <name>text</name> | ||
746 | <string></string> | ||
747 | </property> | ||
748 | </widget> | ||
749 | <widget row="0" column="0" > | ||
750 | <class>QLabel</class> | ||
751 | <property stdset="1"> | ||
752 | <name>name</name> | ||
753 | <cstring>TextLabel1_2_3</cstring> | ||
754 | </property> | ||
755 | <property stdset="1"> | ||
756 | <name>text</name> | ||
757 | <string>First DNS</string> | ||
758 | </property> | ||
759 | </widget> | ||
760 | <widget row="1" column="0" > | ||
761 | <class>QLabel</class> | ||
762 | <property stdset="1"> | ||
763 | <name>name</name> | ||
764 | <cstring>TextLabel1_2_2_2</cstring> | ||
765 | </property> | ||
766 | <property stdset="1"> | ||
767 | <name>text</name> | ||
768 | <string>Second DNS</string> | ||
769 | </property> | ||
770 | </widget> | ||
771 | </grid> | ||
772 | </widget> | ||
773 | </grid> | ||
774 | </widget> | ||
775 | </widget> | ||
776 | </vbox> | ||
777 | </widget> | ||
778 | <connections> | ||
779 | <connection> | ||
780 | <sender>defaultroute</sender> | ||
781 | <signal>toggled(bool)</signal> | ||
782 | <receiver>gatewaybox</receiver> | ||
783 | <slot>setDisabled(bool)</slot> | ||
784 | </connection> | ||
785 | <connection> | ||
786 | <sender>usepeerdns</sender> | ||
787 | <signal>toggled(bool)</signal> | ||
788 | <receiver>dnsbox</receiver> | ||
789 | <slot>setDisabled(bool)</slot> | ||
790 | </connection> | ||
791 | <connection> | ||
792 | <sender>dial_manual</sender> | ||
793 | <signal>toggled(bool)</signal> | ||
794 | <receiver>idletime</receiver> | ||
795 | <slot>setDisabled(bool)</slot> | ||
796 | </connection> | ||
797 | <connection> | ||
798 | <sender>connectdelay</sender> | ||
799 | <signal>valueChanged(int)</signal> | ||
800 | <receiver>connectdelay_text</receiver> | ||
801 | <slot>setNum(int)</slot> | ||
802 | </connection> | ||
803 | </connections> | ||
804 | <tabstops> | ||
805 | <tabstop>TabWidget2</tabstop> | ||
806 | <tabstop>acname</tabstop> | ||
807 | <tabstop>username</tabstop> | ||
808 | <tabstop>password</tabstop> | ||
809 | <tabstop>phone</tabstop> | ||
810 | <tabstop>atdial</tabstop> | ||
811 | <tabstop>speed</tabstop> | ||
812 | <tabstop>crtscts</tabstop> | ||
813 | <tabstop>connectdelay</tabstop> | ||
814 | <tabstop>dial_demand</tabstop> | ||
815 | <tabstop>idletime</tabstop> | ||
816 | <tabstop>defaultroute</tabstop> | ||
817 | <tabstop>gateway</tabstop> | ||
818 | <tabstop>usepeerdns</tabstop> | ||
819 | <tabstop>dns1</tabstop> | ||
820 | <tabstop>dns2</tabstop> | ||
821 | <tabstop>dial_manual</tabstop> | ||
822 | <tabstop>dial_idle</tabstop> | ||
823 | </tabstops> | ||
824 | </UI> | ||
diff --git a/noncore/settings/networksettings/ppp/pppimp.cpp b/noncore/settings/networksettings/ppp/pppimp.cpp deleted file mode 100644 index 6588bbc..0000000 --- a/noncore/settings/networksettings/ppp/pppimp.cpp +++ b/dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | |||
2 | #include <qcombobox.h> | ||
3 | #include <qpushbutton.h> | ||
4 | |||
5 | #include "pppimp.h" | ||
6 | #include "devices.h" | ||
7 | #include "modem.h" | ||
8 | #include "modeminfo.h" | ||
9 | //#include "pppdata.h" | ||
10 | |||
11 | |||
12 | PPPConfigureImp::PPPConfigureImp( QWidget* parent, const char* name, bool modal, WFlags fl) : PPP(parent, name, modal, fl) { | ||
13 | |||
14 | for(int i = 0; devices[i]; i++) | ||
15 | ComboBoxDevice->insertItem(devices[i]); | ||
16 | connect(PushButtonQuery, SIGNAL(clicked()), SLOT(queryModem())); | ||
17 | } | ||
18 | |||
19 | /** | ||
20 | * Open up the peers file and read any set settings | ||
21 | * @param peer the peer file to edit. | ||
22 | */ | ||
23 | void PPPConfigureImp::setPeer(const QString &newPeer){ | ||
24 | peer = newPeer; | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * Save the settings for the current peer. | ||
29 | */ | ||
30 | void PPPConfigureImp::accept(){ | ||
31 | // Check to make sure that all of the inputs are valid. | ||
32 | |||
33 | // Save settings. | ||
34 | /** | ||
35 | /dev/modem or just modem | ||
36 | <speed> any | ||
37 | defaultroute - automaticly add route | ||
38 | noipdefault - get an ip from the server | ||
39 | usepeerdns - automaticly add dns | ||
40 | crtscts - flow control enabled | ||
41 | name <name> - user name (and do secret file) | ||
42 | */ | ||
43 | |||
44 | // Make sure it is set in interfaces so pon/off can be used. | ||
45 | |||
46 | // Close out the dialog | ||
47 | QDialog::accept(); | ||
48 | } | ||
49 | |||
50 | void PPPConfigureImp::queryModem() | ||
51 | { | ||
52 | |||
53 | Modem::modem = new Modem(); | ||
54 | qDebug("setting device"); | ||
55 | // gpppdata.setModemDevice(ComboBoxDevice->currentText()); | ||
56 | qDebug("open dialog"); | ||
57 | ModemTransfer mt(this); | ||
58 | mt.exec(); | ||
59 | } | ||
60 | |||
diff --git a/noncore/settings/networksettings/ppp/pppimp.h b/noncore/settings/networksettings/ppp/pppimp.h deleted file mode 100644 index a94139e..0000000 --- a/noncore/settings/networksettings/ppp/pppimp.h +++ b/dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #ifndef PPPIMP_H | ||
2 | #define PPPIMP_H | ||
3 | |||
4 | #include "ppp.h" | ||
5 | |||
6 | class PPPConfigureImp : public PPP { | ||
7 | |||
8 | Q_OBJECT | ||
9 | |||
10 | public: | ||
11 | PPPConfigureImp(QWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0); | ||
12 | void setPeer(const QString &peer); | ||
13 | |||
14 | protected: | ||
15 | void accept(); | ||
16 | |||
17 | protected slots: | ||
18 | void queryModem(); | ||
19 | private: | ||
20 | QString peer; | ||
21 | |||
22 | }; | ||
23 | |||
24 | #endif | ||
25 | |||
26 | // pppconfigureimp.h | ||
27 | |||