summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-20 18:37:19 (UTC)
committer harlekin <harlekin>2002-06-20 18:37:19 (UTC)
commite3b199e4b3ad71cb8d046e33e792402250a8faec (patch) (side-by-side diff)
tree22bf9a5d7295819e09bd89adee8fff90a4fdfbdc
parent6b3a0f610d311ee6b1b44a3f20350b9ce63ba368 (diff)
downloadopie-e3b199e4b3ad71cb8d046e33e792402250a8faec.zip
opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.gz
opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.bz2
available instead of connected - better naming
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
@@ -37,3 +37,3 @@ void Manager::setDevice( Device* dev ){
}
-void Manager::isConnected( const QString& device ){
+void Manager::isAvailable( const QString& device ){
OProcess* l2ping = new OProcess();
@@ -44,3 +44,3 @@ void Manager::isConnected( const QString& device ){
if (!l2ping->start() ) {
- emit connected( device, false );
+ emit available( device, false );
delete l2ping;
@@ -49,3 +49,3 @@ void Manager::isConnected( const QString& device ){
}
-void Manager::isConnected( Device* dev ){
+void Manager::isAvailable( Device* dev ){
@@ -129,3 +129,3 @@ 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
@@ -55,3 +55,3 @@ Q_OBJECT
*/
- void isConnected(const QString& device= QString::null );
+ void isAvailable(const QString& device= QString::null );
/**
@@ -59,3 +59,3 @@ Q_OBJECT
*/
- void isConnected(Device *dev );
+ void isAvailable(Device *dev );
@@ -107,3 +107,3 @@ Q_OBJECT
// 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 );