summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-20 18:37:19 (UTC)
committer harlekin <harlekin>2002-06-20 18:37:19 (UTC)
commite3b199e4b3ad71cb8d046e33e792402250a8faec (patch) (unidiff)
tree22bf9a5d7295819e09bd89adee8fff90a4fdfbdc
parent6b3a0f610d311ee6b1b44a3f20350b9ce63ba368 (diff)
downloadopie-e3b199e4b3ad71cb8d046e33e792402250a8faec.zip
opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.gz
opie-e3b199e4b3ad71cb8d046e33e792402250a8faec.tar.bz2
available instead of connected - better naming
Diffstat (more/less context) (ignore 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 ){
37} 37}
38void Manager::isConnected( const QString& device ){ 38void Manager::isAvailable( const QString& device ){
39 OProcess* l2ping = new OProcess(); 39 OProcess* l2ping = new OProcess();
@@ -44,3 +44,3 @@ void Manager::isConnected( const QString& device ){
44 if (!l2ping->start() ) { 44 if (!l2ping->start() ) {
45 emit connected( device, false ); 45 emit available( device, false );
46 delete l2ping; 46 delete l2ping;
@@ -49,3 +49,3 @@ void Manager::isConnected( const QString& device ){
49} 49}
50void Manager::isConnected( Device* dev ){ 50void Manager::isAvailable( Device* dev ){
51 51
@@ -129,3 +129,3 @@ void Manager::slotProcessExited(OProcess* proc ) {
129 QString name = QString::fromLatin1(proc->name() ); 129 QString name = QString::fromLatin1(proc->name() );
130 emit connected( name, conn ); 130 emit available( name, conn );
131 delete proc; 131 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
55 */ 55 */
56 void isConnected(const QString& device= QString::null ); 56 void isAvailable(const QString& device= QString::null );
57 /** 57 /**
@@ -59,3 +59,3 @@ Q_OBJECT
59 */ 59 */
60 void isConnected(Device *dev ); 60 void isAvailable(Device *dev );
61 61
@@ -107,3 +107,3 @@ Q_OBJECT
107 // the first device is the device which you access 107 // the first device is the device which you access
108 void connected( const QString& device, bool connected ); 108 void available( const QString& device, bool connected );
109 void addedService( const QString& service, bool added ); 109 void addedService( const QString& service, bool added );