Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpn_NNI.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/vpn/vpn_NNI.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpn_NNI.cpp b/noncore/settings/networksettings2/vpn/vpn_NNI.cpp new file mode 100644 index 0000000..6c20aeb --- a/dev/null +++ b/noncore/settings/networksettings2/vpn/vpn_NNI.cpp | |||
@@ -0,0 +1,30 @@ | |||
1 | #include "vpnedit.h" | ||
2 | #include "vpn_NNI.h" | ||
3 | #include "vpn_NN.h" | ||
4 | |||
5 | AVPN::AVPN( VPNNetNode * PNN ) : ANetNodeInstance( PNN ) { | ||
6 | GUI = 0; | ||
7 | RT = 0; | ||
8 | } | ||
9 | |||
10 | void AVPN::setSpecificAttribute( QString & , QString & ) { | ||
11 | } | ||
12 | |||
13 | void AVPN::saveSpecificAttribute( QTextStream & ) { | ||
14 | } | ||
15 | |||
16 | QWidget * AVPN::edit( QWidget * parent ) { | ||
17 | GUI = new VPNEdit( parent ); | ||
18 | GUI->showData( Data ); | ||
19 | return GUI; | ||
20 | } | ||
21 | |||
22 | QString AVPN::acceptable( void ) { | ||
23 | return ( GUI ) ? GUI->acceptable( ) : QString(); | ||
24 | } | ||
25 | |||
26 | void AVPN::commit( void ) { | ||
27 | if( GUI && GUI->commit( Data ) ) | ||
28 | setModified( 1 ); | ||
29 | } | ||
30 | |||