summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/wlan/wlanrun.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/wlan/wlanrun.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/wlan/wlanrun.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/networksettings2/wlan/wlanrun.cpp b/noncore/settings/networksettings2/wlan/wlanrun.cpp
index b15a560..a0c5884 100644
--- a/noncore/settings/networksettings2/wlan/wlanrun.cpp
+++ b/noncore/settings/networksettings2/wlan/wlanrun.cpp
@@ -12,5 +12,5 @@ State_t WLanRun::detectState( void ) {
// up : card found and assigned to us and up
- NodeCollection * NC = nodeCollection();
+ NetworkSetup * NC = networkSetup();
QString S = QString( "/tmp/profile-%1.up" ).arg(NC->number());
System & Sys = NSResources->system();
@@ -71,5 +71,5 @@ State_t WLanRun::detectState( void ) {
}
-QString WLanRun::setMyState( NodeCollection * , Action_t , bool ) {
+QString WLanRun::setMyState( NetworkSetup * , Action_t , bool ) {
// we only handle activate and deactivate
@@ -95,8 +95,8 @@ InterfaceInfo * WLanRun::getInterface( void ) {
) {
// this is a LAN card
- if( Run->assignedConnection() == netNode()->connection() ) {
+ if( Run->assignedToNetworkSetup() == netNode()->networkSetup() ) {
// assigned to us
return Run;
- } else if( Run->assignedConnection() == 0 ) {
+ } else if( Run->assignedToNetworkSetup() == 0 ) {
// free
best = Run;