author | harlekin <harlekin> | 2002-06-20 18:37:19 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-20 18:37:19 (UTC) |
commit | e3b199e4b3ad71cb8d046e33e792402250a8faec (patch) (side-by-side diff) | |
tree | 22bf9a5d7295819e09bd89adee8fff90a4fdfbdc /noncore/net/opietooth/lib/manager.cc | |
parent | 6b3a0f610d311ee6b1b44a3f20350b9ce63ba368 (diff) | |
download | opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.zip opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.gz opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.bz2 |
available instead of connected - better naming
Diffstat (limited to 'noncore/net/opietooth/lib/manager.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc index c454588..fcd21f6 100644 --- a/noncore/net/opietooth/lib/manager.cc +++ b/noncore/net/opietooth/lib/manager.cc @@ -35,19 +35,19 @@ void Manager::setDevice( const QString& dev ){ void Manager::setDevice( Device* dev ){ } -void Manager::isConnected( const QString& device ){ +void Manager::isAvailable( const QString& device ){ OProcess* l2ping = new OProcess(); l2ping->setName( device.latin1() ); *l2ping << "l2ping" << "-c1" << device; connect(l2ping, SIGNAL(processExited(OProcess* ) ), this, SLOT(slotProcessExited(OProcess*) ) ); if (!l2ping->start() ) { - emit connected( device, false ); + emit available( device, false ); delete l2ping; } } -void Manager::isConnected( Device* dev ){ +void Manager::isAvailable( Device* dev ){ } @@ -127,7 +127,7 @@ void Manager::slotProcessExited(OProcess* proc ) { conn = true; QString name = QString::fromLatin1(proc->name() ); - emit connected( name, conn ); + emit available( name, conn ); delete proc; } void Manager::slotSDPOut(OProcess* proc, char* ch, int len) |