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/bluetooth/bluetoothRFCOMMrun.cpp') diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMrun.cpp b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMrun.cpp index 3df7f5c..cd7bb4a 100644 --- a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMrun.cpp +++ b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMrun.cpp @@ -20,7 +20,7 @@ State_t BluetoothRFCOMMRun::detectState( void ) { OT = OTGateway::getOTGateway(); } - if( deviceNrOfConnection() >= 0 ) { + if( deviceNrOfNetworkSetup() >= 0 ) { return Available; } @@ -31,7 +31,7 @@ State_t BluetoothRFCOMMRun::detectState( void ) { return ( OT->isEnabled() ) ? Off : Unavailable; } -QString BluetoothRFCOMMRun::setMyState( NodeCollection *, +QString BluetoothRFCOMMRun::setMyState( NetworkSetup *, Action_t A, bool ) { @@ -70,7 +70,7 @@ QString BluetoothRFCOMMRun::setMyState( NodeCollection *, if( A == Deactivate ) { if( DeviceNr >= 0 ) { if( OT->releaseRFCommDevice( DeviceNr ) ) { - return QString( "Cannot release RFCOMM connection" ); + return QString( "Cannot release RFCOMM NetworkSetup" ); } DeviceNr = -1; } @@ -131,15 +131,15 @@ RFCOMMChannel * BluetoothRFCOMMRun::getChannel( void ) { } QString BluetoothRFCOMMRun::deviceFile( void ) { - if( deviceNrOfConnection() >= 0 ) { + if( deviceNrOfNetworkSetup() >= 0 ) { OTDevice * OTD = OT->getOTDevice(); - // there is a connection + // there is a NetworkSetup return OTD->getRFCommDevicePattern().arg(DeviceNr); } return QString(); } -int BluetoothRFCOMMRun::deviceNrOfConnection( void ) { +int BluetoothRFCOMMRun::deviceNrOfNetworkSetup( void ) { if( ! OT ) { OT = OTGateway::getOTGateway(); -- cgit v0.9.0.2