summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/manager.cc8
-rw-r--r--noncore/net/opietooth/lib/manager.h6
2 files changed, 7 insertions, 7 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
@@ -36,5 +36,5 @@ 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() );
@@ -43,10 +43,10 @@ void Manager::isConnected( const QString& device ){
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 ){
@@ -128,5 +128,5 @@ void Manager::slotProcessExited(OProcess* proc ) {
QString name = QString::fromLatin1(proc->name() );
- emit connected( name, conn );
+ emit available( name, conn );
delete proc;
}
diff --git a/noncore/net/opietooth/lib/manager.h b/noncore/net/opietooth/lib/manager.h
index aba70f7..415ec72 100644
--- a/noncore/net/opietooth/lib/manager.h
+++ b/noncore/net/opietooth/lib/manager.h
@@ -54,9 +54,9 @@ Q_OBJECT
* @param either mac or hciX
*/
- void isConnected(const QString& device= QString::null );
+ void isAvailable(const QString& device= QString::null );
/**
* same as above
*/
- void isConnected(Device *dev );
+ void isAvailable(Device *dev );
/** this searchs for devices reachable from the
@@ -106,5 +106,5 @@ Q_OBJECT
// device either mac or dev name
// the first device is the device which you access
- void connected( const QString& device, bool connected );
+ void available( const QString& device, bool connected );
void addedService( const QString& service, bool added );
void removedService( const QString& service, bool removed );