From 96678694f8952f60d0a895cede2b621404b4bfb8 Mon Sep 17 00:00:00 2001 From: wimpie Date: Tue, 11 Jan 2005 21:42:31 +0000 Subject: Major rename of NodeCollection to NetworkSetup this commit is broken (missing symbols) --- (limited to 'noncore/settings/networksettings2/gprs/GPRS_NNI.cpp') diff --git a/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp b/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp index 2f61cba..bf8cc59 100644 --- a/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp +++ b/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp @@ -122,7 +122,7 @@ short AGPRSDevice::generateFile( SystemFile & SF, SF << "noauth" << oendl; SF << "user " << Data.User << oendl; SF << "connect \"/usr/sbin/chat -s -v -f /etc/chatscripts/" - << removeSpaces( connection()->name() ) + << removeSpaces( networkSetup()->name() ) << "\"" << oendl; SF << "ipcp-accept-local" << oendl; @@ -135,7 +135,7 @@ short AGPRSDevice::generateFile( SystemFile & SF, } if( Data.Debug ) { SF << "logfile /tmp/" - << removeSpaces( connection()->name() ) + << removeSpaces( networkSetup()->name() ) << oendl; for( int i = 0; i < Data.Debug; i ++ ) { SF << "debug" << oendl; @@ -146,9 +146,9 @@ short AGPRSDevice::generateFile( SystemFile & SF, SF << "lcp-echo-interval 0" << oendl; SF << "lcp-echo-failure 0" << oendl; SF << "usepeerdns" << oendl; - SF << "linkname " << removeSpaces( connection()->name() ) << oendl; + SF << "linkname " << removeSpaces( networkSetup()->name() ) << oendl; SF << "nopersist" << oendl; - SF << "ipparam " << removeSpaces( connection()->name() ) <name() ) <name() ) + << removeSpaces( networkSetup()->name() ) <name() ) + << removeSpaces( networkSetup()->name() ) <name() ) + removeSpaces( networkSetup()->name() ) ); return 1; } else if ( SF.name() == "chatscripts" ) { SF.setPath( QString( "/etc/chatscripts/" ) + - removeSpaces( connection()->name() ) + removeSpaces( networkSetup()->name() ) ); return 1; } else if ( SF.name() == "extra" ) { SF.setPath( QString( "/etc/ppp/" ) + - removeSpaces( connection()->name() ) + ".fixed" + removeSpaces( networkSetup()->name() ) + ".fixed" ); return 1; } -- cgit v0.9.0.2