summaryrefslogtreecommitdiff
path: root/noncore
authormickeyl <mickeyl>2004-06-01 14:14:38 (UTC)
committer mickeyl <mickeyl>2004-06-01 14:14:38 (UTC)
commit4438393d8eef624565e840b798429071829adea8 (patch) (unidiff)
tree35bb6132f33b9aa1725d57158b4fd1967cfca1df /noncore
parent27dfc34d411dee76f09f5e516c60b0a64eb35948 (diff)
downloadopie-4438393d8eef624565e840b798429071829adea8.zip
opie-4438393d8eef624565e840b798429071829adea8.tar.gz
opie-4438393d8eef624565e840b798429071829adea8.tar.bz2
fix typos
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/device.cc2
-rw-r--r--noncore/net/opietooth/lib/manager.cc20
2 files changed, 11 insertions, 11 deletions
diff --git a/noncore/net/opietooth/lib/device.cc b/noncore/net/opietooth/lib/device.cc
index f81066e..eea1178 100644
--- a/noncore/net/opietooth/lib/device.cc
+++ b/noncore/net/opietooth/lib/device.cc
@@ -69,13 +69,13 @@ void Device::attach(){
69void Device::detach(){ 69void Device::detach(){
70 delete m_hci; 70 delete m_hci;
71 delete m_process; 71 delete m_process;
72 // kill the pid we got 72 // kill the pid we got
73 if(m_attached ){ 73 if(m_attached ){
74 //kill the pid 74 //kill the pid
75 warn << "killing" << oendl; 75 owarn << "killing" << oendl;
76 kill(pid, 9); 76 kill(pid, 9);
77 } 77 }
78 owarn << "detached" << oendl; 78 owarn << "detached" << oendl;
79} 79}
80bool Device::isLoaded()const{ 80bool Device::isLoaded()const{
81 return m_attached; 81 return m_attached;
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc
index 76d9127..53122c1 100644
--- a/noncore/net/opietooth/lib/manager.cc
+++ b/noncore/net/opietooth/lib/manager.cc
@@ -189,13 +189,13 @@ void Manager::slotHCIExited(OProcess* proc ) {
189 } 189 }
190 emit foundDevices( proc->name(), list ); 190 emit foundDevices( proc->name(), list );
191 delete proc; 191 delete proc;
192} 192}
193void Manager::slotHCIOut(OProcess* proc, char* ch, int len) { 193void Manager::slotHCIOut(OProcess* proc, char* ch, int len) {
194 QCString str( ch, len+1 ); 194 QCString str( ch, len+1 );
195 owarn << "hci: " << str.data() oendl; 195 owarn << "hci: " << str.data() << oendl;
196 QMap<QString, QString>::Iterator it; 196 QMap<QString, QString>::Iterator it;
197 it = m_devices.find( proc->name() ); 197 it = m_devices.find( proc->name() );
198 owarn << "proc->name " << proc->name() << oendl; 198 owarn << "proc->name " << proc->name() << oendl;
199 QString string; 199 QString string;
200 if (it != m_devices.end() ) { 200 if (it != m_devices.end() ) {
201 owarn << "slotHCIOut " << oendl; 201 owarn << "slotHCIOut " << oendl;
@@ -279,21 +279,21 @@ ConnectionState::ValueList Manager::parseConnections( const QString& out ) {
279 // remove the first line ( "Connections:") 279 // remove the first line ( "Connections:")
280 it = list.begin(); 280 it = list.begin();
281 it = list.remove( it ); 281 it = list.remove( it );
282 for (; it != list.end(); ++it ) { 282 for (; it != list.end(); ++it ) {
283 QString row = (*it).stripWhiteSpace(); 283 QString row = (*it).stripWhiteSpace();
284 QStringList value = QStringList::split(' ', row ); 284 QStringList value = QStringList::split(' ', row );
285 owan << "0: %s" << value[0].latin1() << oendl; 285 owarn << "0: %s" << value[0].latin1() << oendl;
286 owan << "1: %s" << value[1].latin1() << oendl; 286 owarn << "1: %s" << value[1].latin1() << oendl;
287 owan << "2: %s" << value[2].latin1() << oendl; 287 owarn << "2: %s" << value[2].latin1() << oendl;
288 owan << "3: %s" << value[3].latin1() << oendl; 288 owarn << "3: %s" << value[3].latin1() << oendl;
289 owan << "4: %s" << value[4].latin1() << oendl; 289 owarn << "4: %s" << value[4].latin1() << oendl;
290 owan << "5: %s" << value[5].latin1() << oendl; 290 owarn << "5: %s" << value[5].latin1() << oendl;
291 owan << "6: %s" << value[6].latin1() << oendl; 291 owarn << "6: %s" << value[6].latin1() << oendl;
292 owan << "7: %s" << value[7].latin1() << oendl; 292 owarn << "7: %s" << value[7].latin1() << oendl;
293 owan << "8: %s" << value[8].latin1() << oendl; 293 owarn << "8: %s" << value[8].latin1() << oendl;
294 ConnectionState con; 294 ConnectionState con;
295 con.setDirection( value[0] == QString::fromLatin1("<") ? Outgoing : Incoming ); 295 con.setDirection( value[0] == QString::fromLatin1("<") ? Outgoing : Incoming );
296 con.setConnectionMode( value[1] ); 296 con.setConnectionMode( value[1] );
297 con.setMac( value[2] ); 297 con.setMac( value[2] );
298 con.setHandle( value[4].toInt() ); 298 con.setHandle( value[4].toInt() );
299 con.setState( value[6].toInt() ); 299 con.setState( value[6].toInt() );