From b0afa096730ac7893fcd25873f6fd09fcef32a95 Mon Sep 17 00:00:00 2001 From: wimpie Date: Tue, 11 Jan 2005 22:10:59 +0000 Subject: Changes now ok this works again --- diff --git a/noncore/settings/networksettings2/cable/cable_NN.cpp b/noncore/settings/networksettings2/cable/cable_NN.cpp index 3f34bb2..4085b22 100644 --- a/noncore/settings/networksettings2/cable/cable_NN.cpp +++ b/noncore/settings/networksettings2/cable/cable_NN.cpp @@ -15,7 +15,7 @@ static const char * CableProvides[] = /** * Constructor, find all of the possible interfaces */ -CableNetNode::CableNetNode() : ANetNode(tr("Cable NetworkSetup")) { +CableNetNode::CableNetNode() : ANetNode(tr("Cable connection")) { } /** diff --git a/noncore/settings/networksettings2/gprs/GPRS_NN.cpp b/noncore/settings/networksettings2/gprs/GPRS_NN.cpp index 374cf5a..e9553a6 100644 --- a/noncore/settings/networksettings2/gprs/GPRS_NN.cpp +++ b/noncore/settings/networksettings2/gprs/GPRS_NN.cpp @@ -12,7 +12,7 @@ static const char * GPRSNeeds[] = }; static const char * GPRSProvides[] = - { "NetworkSetup", + { "connection", 0 }; diff --git a/noncore/settings/networksettings2/network/network_NN.cpp b/noncore/settings/networksettings2/network/network_NN.cpp index 80a7fac..2fa31bd 100644 --- a/noncore/settings/networksettings2/network/network_NN.cpp +++ b/noncore/settings/networksettings2/network/network_NN.cpp @@ -12,7 +12,7 @@ static const char * NetworkNeeds[] = }; static const char * NetworkProvides[] = - { "NetworkSetup", + { "connection", 0 }; diff --git a/noncore/settings/networksettings2/networksettings2/resources.cpp b/noncore/settings/networksettings2/networksettings2/resources.cpp index 0e72c25..2dd91f8 100644 --- a/noncore/settings/networksettings2/networksettings2/resources.cpp +++ b/noncore/settings/networksettings2/networksettings2/resources.cpp @@ -181,10 +181,12 @@ void TheNSResources::findAvailableNetNodes( void ){ } // merge this node with global node - for( QListIterator it(PNN); - it.current(); - ++it ) { - AllNodeTypes.insert( it.current()->name(), it.current() ); + for( QListIterator nnit(PNN); + nnit.current(); + ++nnit ) { + Log(( "Found node type %s in plugin %s\n", + nnit.current()->name(), (*it).name().latin1() )); + AllNodeTypes.insert( nnit.current()->name(), nnit.current() ); } } diff --git a/noncore/settings/networksettings2/ppp/ppp_NN.cpp b/noncore/settings/networksettings2/ppp/ppp_NN.cpp index 884168c..6c1387d 100644 --- a/noncore/settings/networksettings2/ppp/ppp_NN.cpp +++ b/noncore/settings/networksettings2/ppp/ppp_NN.cpp @@ -14,14 +14,14 @@ static const char * PPPNeeds[] = }; static const char * PPPProvides[] = - { "NetworkSetup", + { "connection", 0 }; /** * Constructor, find all of the possible interfaces */ -PPPNetNode::PPPNetNode() : ANetNode(tr("PPP NetworkSetup")) { +PPPNetNode::PPPNetNode() : ANetNode(tr("PPP connection")) { NSResources->addSystemFile( "pap-secrets", "/etc/ppp/pap-secrets", 0 ); diff --git a/noncore/settings/networksettings2/profile/profile_NN.cpp b/noncore/settings/networksettings2/profile/profile_NN.cpp index 007f4a5..1e6912e 100644 --- a/noncore/settings/networksettings2/profile/profile_NN.cpp +++ b/noncore/settings/networksettings2/profile/profile_NN.cpp @@ -5,7 +5,7 @@ #include "netnodeinterface.h" static const char * ProfileNeeds[] = - { "NetworkSetup", + { "connection", 0 }; static const char * ProfileProvides[] = @@ -16,7 +16,7 @@ static const char * ProfileProvides[] = /** * Constructor, find all of the possible interfaces */ -ProfileNetNode::ProfileNetNode() : ANetNode( tr("Regular NetworkSetup profile")) { +ProfileNetNode::ProfileNetNode() : ANetNode( tr("Regular connection profile")) { NSResources->addSystemFile( "interfaces", "/etc/network/interfaces", 1 ); @@ -31,8 +31,8 @@ ProfileNetNode::~ProfileNetNode(){ const QString ProfileNetNode::nodeDescription(){ return tr("\ -

Define use of an IP NetworkSetup.

\ -

Configure if and when this NetworkSetup needs to be established

\ +

Define use of an IP connection.

\ +

Configure if and when this connection needs to be established

\ " ); } diff --git a/noncore/settings/networksettings2/usb/usb_NN.cpp b/noncore/settings/networksettings2/usb/usb_NN.cpp index 6e2597c..6d90ae0 100644 --- a/noncore/settings/networksettings2/usb/usb_NN.cpp +++ b/noncore/settings/networksettings2/usb/usb_NN.cpp @@ -30,7 +30,7 @@ USBNetNode::~USBNetNode(){ const QString USBNetNode::nodeDescription(){ return tr("\

Configure Ethernet over USB.

\ -

Use this for a computer to computer USB cable NetworkSetup

\ +

Use this for a computer to computer USB cable connection

\ " ); } diff --git a/noncore/settings/networksettings2/vpn/vpn_NN.cpp b/noncore/settings/networksettings2/vpn/vpn_NN.cpp index 7c2e77b..beb9215 100644 --- a/noncore/settings/networksettings2/vpn/vpn_NN.cpp +++ b/noncore/settings/networksettings2/vpn/vpn_NN.cpp @@ -8,13 +8,13 @@ static const char * VPNNeeds[] = }; static const char * VPNProvides[] = - { "NetworkSetup", + { "connection", 0 }; /** * Constructor, find all of the possible interfaces */ -VPNNetNode::VPNNetNode() : ANetNode(tr("VPN NetworkSetup")) { +VPNNetNode::VPNNetNode() : ANetNode(tr("VPN connection")) { } /** @@ -25,7 +25,7 @@ VPNNetNode::~VPNNetNode(){ const QString VPNNetNode::nodeDescription(){ return tr("\ -

Configure private IP NetworkSetup.

\ +

Configure private IP connection.

\

Defines Secure tunnels over non secure IP sessions

\ " ); -- cgit v0.9.0.2