Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpn_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/vpn/vpn_NN.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpn_NN.cpp b/noncore/settings/networksettings2/vpn/vpn_NN.cpp index 9d3b6e7..23ec04a 100644 --- a/noncore/settings/networksettings2/vpn/vpn_NN.cpp +++ b/noncore/settings/networksettings2/vpn/vpn_NN.cpp | |||
@@ -4,8 +4,12 @@ | |||
4 | static const char * VPNNeeds[] = | 4 | static const char * VPNNeeds[] = |
5 | { 0 | 5 | { 0 |
6 | }; | 6 | }; |
7 | 7 | ||
8 | static const char * VPNProvides[] = | ||
9 | { "connection", | ||
10 | 0 | ||
11 | }; | ||
8 | /** | 12 | /** |
9 | * Constructor, find all of the possible interfaces | 13 | * Constructor, find all of the possible interfaces |
10 | */ | 14 | */ |
11 | VPNNetNode::VPNNetNode() : ANetNode(tr("VPN Connection")) { | 15 | VPNNetNode::VPNNetNode() : ANetNode(tr("VPN Connection")) { |
@@ -32,10 +36,10 @@ ANetNodeInstance * VPNNetNode::createInstance( void ) { | |||
32 | const char ** VPNNetNode::needs( void ) { | 36 | const char ** VPNNetNode::needs( void ) { |
33 | return VPNNeeds; | 37 | return VPNNeeds; |
34 | } | 38 | } |
35 | 39 | ||
36 | const char * VPNNetNode::provides( void ) { | 40 | const char ** VPNNetNode::provides( void ) { |
37 | return "connection"; | 41 | return VPNProvides; |
38 | } | 42 | } |
39 | 43 | ||
40 | void VPNNetNode::setSpecificAttribute( QString & , QString & ) { | 44 | void VPNNetNode::setSpecificAttribute( QString & , QString & ) { |
41 | } | 45 | } |