summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth
authorzecke <zecke>2002-06-15 23:07:12 (UTC)
committer zecke <zecke>2002-06-15 23:07:12 (UTC)
commit0675d8e8ea5f599af9f433e1e86b63953b26639d (patch) (unidiff)
treefb3aaa512aa8f4600de119574999749758d38139 /noncore/net/opietooth
parent3f49c8a3006c4c51cf7d4a2f84a3926efd3e1820 (diff)
downloadopie-0675d8e8ea5f599af9f433e1e86b63953b26639d.zip
opie-0675d8e8ea5f599af9f433e1e86b63953b26639d.tar.gz
opie-0675d8e8ea5f599af9f433e1e86b63953b26639d.tar.bz2
fix it
Diffstat (limited to 'noncore/net/opietooth') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp2
-rw-r--r--noncore/net/opietooth/lib/device.cc11
-rw-r--r--noncore/net/opietooth/lib/lib.pro2
3 files changed, 11 insertions, 4 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index a380ac7..6e5ee82 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -78,3 +78,3 @@ namespace OpieTooth {
78 if (c == 1) { 78 if (c == 1) {
79 btDevice = new Device("/dev/ttySB0", "scr" ); 79 btDevice = new Device("/dev/ttySB0", "csr" );
80 // system("hciattach /dev/ttySB0 csr"); 80 // system("hciattach /dev/ttySB0 csr");
diff --git a/noncore/net/opietooth/lib/device.cc b/noncore/net/opietooth/lib/device.cc
index 5234996..5edfc03 100644
--- a/noncore/net/opietooth/lib/device.cc
+++ b/noncore/net/opietooth/lib/device.cc
@@ -15,2 +15,3 @@ namespace {
15 for( QStringList::Iterator it = list.begin(); it != list.end(); ++it ){ 15 for( QStringList::Iterator it = list.begin(); it != list.end(); ++it ){
16 qWarning("parsePID: %s", (*it).latin1() );
16 if( !(*it).startsWith("CSR") ){ 17 if( !(*it).startsWith("CSR") ){
@@ -80,3 +81,5 @@ void Device::slotExited( OProcess* proc)
80 if(proc== m_process ){ 81 if(proc== m_process ){
82 qWarning("proc == m_process" );
81 if( m_process->normalExit() ){ // normal exit 83 if( m_process->normalExit() ){ // normal exit
84 qWarning("normalExit" );
82 int ret = m_process->exitStatus(); 85 int ret = m_process->exitStatus();
@@ -101,2 +104,3 @@ void Device::slotExited( OProcess* proc)
101 }else{ 104 }else{
105 qWarning("crass" );
102 m_attached = false; 106 m_attached = false;
@@ -130,4 +134,6 @@ void Device::slotStdOut(OProcess* proc, char* chars, int len)
130 qWarning("std out" ); 134 qWarning("std out" );
131 if( len <1 ) 135 if( len <1 ){
136 qWarning( "len < 1 " );
132 return; 137 return;
138 }
133 if(proc == m_process ){ 139 if(proc == m_process ){
@@ -138,5 +144,6 @@ void Device::slotStdOut(OProcess* proc, char* chars, int len)
138} 144}
139void Device::slotStdErr(OProcess*, char*, int ) 145void Device::slotStdErr(OProcess* proc, char* chars, int len)
140{ 146{
141 qWarning("std err" ); 147 qWarning("std err" );
148 slotStdOut( proc, chars, len );
142} 149}
diff --git a/noncore/net/opietooth/lib/lib.pro b/noncore/net/opietooth/lib/lib.pro
index f2cde06..ce36d66 100644
--- a/noncore/net/opietooth/lib/lib.pro
+++ b/noncore/net/opietooth/lib/lib.pro
@@ -7,3 +7,3 @@ INCLUDEPATH += $(OPIEDIR)/include
7DESTDIR = $(QTDIR)/lib$(PROJMAK) 7DESTDIR = $(QTDIR)/lib$(PROJMAK)
8LIBS = -lopie 8LIBS += -lopie
9#VERSION = 0.0.0 9#VERSION = 0.0.0