summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/cable/cable_NN.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/cable/cable_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/cable/cable_NN.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/cable/cable_NN.cpp b/noncore/settings/networksettings2/cable/cable_NN.cpp
index 38568df..dc4205c 100644
--- a/noncore/settings/networksettings2/cable/cable_NN.cpp
+++ b/noncore/settings/networksettings2/cable/cable_NN.cpp
@@ -5,6 +5,11 @@ static const char * CableNeeds[] =
{ 0
};
+static const char * CableProvides[] =
+ { "line",
+ 0
+ };
+
/**
* Constructor, find all of the possible interfaces
*/
@@ -32,8 +37,8 @@ const char ** CableNetNode::needs( void ) {
return CableNeeds;
}
-const char * CableNetNode::provides( void ) {
- return "line";
+const char ** CableNetNode::provides( void ) {
+ return CableProvides;
}
void CableNetNode::setSpecificAttribute( QString & , QString & ) {