Diffstat (limited to 'noncore/settings/networksettings2/profile/profileedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/profile/profileedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/profile/profileedit.cpp b/noncore/settings/networksettings2/profile/profileedit.cpp index 1713f0c..818bad6 100644 --- a/noncore/settings/networksettings2/profile/profileedit.cpp +++ b/noncore/settings/networksettings2/profile/profileedit.cpp | |||
@@ -61,35 +61,35 @@ ProfileEdit::ProfileEdit( QWidget * Parent, ANetNodeInstance * TNNI ) : | |||
61 | 61 | ||
62 | } | 62 | } |
63 | 63 | ||
64 | QString ProfileEdit::acceptable( void ) { | 64 | QString ProfileEdit::acceptable( void ) { |
65 | return QString(); | 65 | return QString(); |
66 | } | 66 | } |
67 | 67 | ||
68 | void ProfileEdit::showData( ProfileData & Data ) { | 68 | void ProfileEdit::showData( ProfileData & Data ) { |
69 | Description_LE->setText( Data.Description ); | 69 | Description_LE->setText( Data.Description ); |
70 | Automatic_CB->setChecked( Data.Automatic ); | 70 | Automatic_CB->setChecked( Data.Automatic ); |
71 | TriggersVPN_CB->setChecked( Data.TriggerVPN ); | 71 | TriggersVPN_CB->setChecked( Data.TriggerVPN ); |
72 | Confirm_CB->setChecked( Data.Confirm ); | 72 | Confirm_CB->setChecked( Data.Confirm ); |
73 | Disabled_CB->setChecked( Data.Disabled ); | 73 | Enabled_CB->setChecked( Data.Enabled ); |
74 | } | 74 | } |
75 | 75 | ||
76 | 76 | ||
77 | bool ProfileEdit::commit( ProfileData & Data ) { | 77 | bool ProfileEdit::commit( ProfileData & Data ) { |
78 | bool SM = 0; | 78 | bool SM = 0; |
79 | TXTM( Data.Description, Description_LE, SM ); | 79 | TXTM( Data.Description, Description_LE, SM ); |
80 | 80 | ||
81 | CBM( Data.Automatic, Automatic_CB, SM ); | 81 | CBM( Data.Automatic, Automatic_CB, SM ); |
82 | CBM( Data.TriggerVPN, TriggersVPN_CB, SM ); | 82 | CBM( Data.TriggerVPN, TriggersVPN_CB, SM ); |
83 | CBM( Data.Disabled, Disabled_CB, SM ); | 83 | CBM( Data.Enabled, Enabled_CB, SM ); |
84 | CBM( Data.Confirm, Confirm_CB, SM ); | 84 | CBM( Data.Confirm, Confirm_CB, SM ); |
85 | 85 | ||
86 | return SM; | 86 | return SM; |
87 | } | 87 | } |
88 | 88 | ||
89 | void ProfileEdit::SLOT_Refresh( void ) { | 89 | void ProfileEdit::SLOT_Refresh( void ) { |
90 | InterfaceInfo * II = NNI->networkSetup()->assignedInterface(); | 90 | InterfaceInfo * II = NNI->networkSetup()->assignedInterface(); |
91 | QString S; | 91 | QString S; |
92 | NSResources->system().refreshStatistics( *II ); | 92 | NSResources->system().refreshStatistics( *II ); |
93 | 93 | ||
94 | RcvBytes_LBL->setText( II->RcvBytes ); | 94 | RcvBytes_LBL->setText( II->RcvBytes ); |
95 | RcvPackets_LBL->setText( II->RcvPackets ); | 95 | RcvPackets_LBL->setText( II->RcvPackets ); |