Diffstat (limited to 'noncore/settings/networksettings2/ppp/PPPedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/ppp/PPPedit.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/ppp/PPPedit.cpp b/noncore/settings/networksettings2/ppp/PPPedit.cpp index eb4fdbf..17889aa 100644 --- a/noncore/settings/networksettings2/ppp/PPPedit.cpp +++ b/noncore/settings/networksettings2/ppp/PPPedit.cpp | |||
@@ -2,18 +2,25 @@ | |||
2 | 2 | ||
3 | #include "PPPIPedit.h" | 3 | #include "PPPIPedit.h" |
4 | #include "PPPDNSedit.h" | 4 | #include "PPPDNSedit.h" |
5 | #include "PPPAuthedit.h" | 5 | #include "PPPAuthedit.h" |
6 | #include "PPPRunedit.h" | ||
7 | #include "PPPDialingedit.h" | ||
6 | #include "PPPedit.h" | 8 | #include "PPPedit.h" |
7 | 9 | ||
8 | PPPEdit::PPPEdit( QWidget * Parent ) : PPPGUI( Parent ){ | 10 | PPPEdit::PPPEdit( QWidget * Parent ) : PPPGUI( Parent ){ |
9 | 11 | ||
10 | Auth = new PPPAuthEdit( Options_WS ); | 12 | Auth = new PPPAuthEdit( Options_WS ); |
11 | IP = new PPPIPEdit( Options_WS ); | 13 | IP = new PPPIPEdit( Options_WS ); |
12 | DNS = new PPPDNSEdit( Options_WS ); | 14 | DNS = new PPPDNSEdit( Options_WS ); |
15 | Run = new PPPRunEdit( Options_WS ); | ||
16 | Dialing = new PPPDialingEdit( Options_WS ); | ||
17 | |||
13 | Options_WS->addWidget( Auth, 0 ); | 18 | Options_WS->addWidget( Auth, 0 ); |
14 | Options_WS->addWidget( IP, 1 ); | 19 | Options_WS->addWidget( IP, 1 ); |
15 | Options_WS->addWidget( DNS, 2 ); | 20 | Options_WS->addWidget( DNS, 2 ); |
21 | Options_WS->addWidget( Run, 3 ); | ||
22 | Options_WS->addWidget( Dialing, 4 ); | ||
16 | 23 | ||
17 | Options_WS->raiseWidget( 0 ); | 24 | Options_WS->raiseWidget( 0 ); |
18 | } | 25 | } |
19 | 26 | ||
@@ -28,17 +35,17 @@ QString PPPEdit::acceptable( void ) { | |||
28 | } | 35 | } |
29 | return S; | 36 | return S; |
30 | } | 37 | } |
31 | 38 | ||
32 | bool PPPEdit::commit( PPPData_t & Data ) { | 39 | bool PPPEdit::commit( PPPData & Data ) { |
33 | bool SM ; | 40 | bool SM ; |
34 | SM = Auth->commit( Data ); | 41 | SM = Auth->commit( Data ); |
35 | SM |= IP->commit( Data ); | 42 | SM |= IP->commit( Data ); |
36 | SM |= DNS->commit( Data ); | 43 | SM |= DNS->commit( Data ); |
37 | return SM; | 44 | return SM; |
38 | } | 45 | } |
39 | 46 | ||
40 | void PPPEdit::showData( PPPData_t & Data ) { | 47 | void PPPEdit::showData( PPPData & Data ) { |
41 | Auth->showData( Data ) ; | 48 | Auth->showData( Data ) ; |
42 | IP->showData( Data ); | 49 | IP->showData( Data ); |
43 | DNS->showData( Data ); | 50 | DNS->showData( Data ); |
44 | } | 51 | } |