summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/hciconfwrapper.cpp18
-rw-r--r--noncore/net/opietooth/manager/rfcommconfhandler.cpp12
2 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/opietooth/manager/hciconfwrapper.cpp b/noncore/net/opietooth/manager/hciconfwrapper.cpp
index ca2e7bd..47e170e 100644
--- a/noncore/net/opietooth/manager/hciconfwrapper.cpp
+++ b/noncore/net/opietooth/manager/hciconfwrapper.cpp
@@ -25,3 +25,3 @@ namespace OpieTooth {
25 void HciConfWrapper::setName( const QString &name ) { 25 void HciConfWrapper::setName( const QString &name ) {
26 qDebug ("NAME : " + name); 26 odebug << "NAME : " << name << oendl;
27 setValue( "name" , "\"" + name + "\"" ); 27 setValue( "name" , "\"" + name + "\"" );
@@ -79,6 +79,6 @@ namespace OpieTooth {
79 if( (str.contains(key)) > 0 ) { 79 if( (str.contains(key)) > 0 ) {
80 odebug << "Found" << oendl; 80 odebug << "Found" << oendl;
81 // still need to look if its commented out!!! 81 // still need to look if its commented out!!!
82 str.simplifyWhiteSpace(); 82 str.simplifyWhiteSpace();
83 odebug << key << oendl; 83 odebug << key << oendl;
84 if (str.startsWith("#")) { 84 if (str.startsWith("#")) {
@@ -88,3 +88,3 @@ namespace OpieTooth {
88 } 88 }
89 odebug << str << oendl; 89 odebug << str << oendl;
90 it = m_file.remove( it ); 90 it = m_file.remove( it );
@@ -103,3 +103,3 @@ namespace OpieTooth {
103 void HciConfWrapper::load() { 103 void HciConfWrapper::load() {
104 owarn << "loaded" << oendl; 104 owarn << "loaded" << oendl;
105 m_file.clear(); 105 m_file.clear();
@@ -107,3 +107,3 @@ namespace OpieTooth {
107 if (!file.open( IO_ReadOnly ) ) { 107 if (!file.open( IO_ReadOnly ) ) {
108 odebug << "Could not open" << oendl; 108 odebug << "Could not open" << oendl;
109 return; 109 return;
@@ -124,3 +124,3 @@ namespace OpieTooth {
124 void HciConfWrapper::save() { 124 void HciConfWrapper::save() {
125 owarn << "save" << oendl; 125 owarn << "save" << oendl;
126 if (m_file.isEmpty() ) // load first 126 if (m_file.isEmpty() ) // load first
@@ -130,3 +130,3 @@ namespace OpieTooth {
130 if ( !file.open(IO_WriteOnly ) ) { 130 if ( !file.open(IO_WriteOnly ) ) {
131 owarn << "could not open " << m_fileName.latin1() << "" << oendl; 131 owarn << "could not open " << m_fileName.latin1() << "" << oendl;
132 return; 132 return;
@@ -139,3 +139,3 @@ namespace OpieTooth {
139 } 139 }
140 owarn << "saved" << oendl; 140 owarn << "saved" << oendl;
141 }; 141 };
diff --git a/noncore/net/opietooth/manager/rfcommconfhandler.cpp b/noncore/net/opietooth/manager/rfcommconfhandler.cpp
index 1f7ba65..f82d2c8 100644
--- a/noncore/net/opietooth/manager/rfcommconfhandler.cpp
+++ b/noncore/net/opietooth/manager/rfcommconfhandler.cpp
@@ -96,4 +96,4 @@ void RfCommConfHandler::load() {
96 QString number = tmpLine.mid( 6,1 ); 96 QString number = tmpLine.mid( 6,1 );
97 odebug << tmpLine << oendl; 97 odebug << tmpLine << oendl;
98 odebug << "TEST " + number << oendl; 98 odebug << "TEST " + number << oendl;
99 } else if ( tmpLine.startsWith( "}" ) ) { 99 } else if ( tmpLine.startsWith( "}" ) ) {
@@ -102,9 +102,9 @@ void RfCommConfHandler::load() {
102 mac = tmpLine.mid( 7, 17 ); 102 mac = tmpLine.mid( 7, 17 );
103 odebug << "mac" + mac << oendl; 103 odebug << "mac" + mac << oendl;
104 } else if ( tmpLine.startsWith( "channel" ) ) { 104 } else if ( tmpLine.startsWith( "channel" ) ) {
105 channel = tmpLine.mid( 8, 1 ); 105 channel = tmpLine.mid( 8, 1 );
106 qDebug ( "Channel :" + channel ); 106 odebug << "Channel :" << channel << oendl;
107 } else if ( tmpLine.startsWith( "comment" ) ) { 107 } else if ( tmpLine.startsWith( "comment" ) ) {
108 comment = tmpLine.mid( 9, tmpLine.find( ';' ) - 9 - 1 ); 108 comment = tmpLine.mid( 9, tmpLine.find( ';' ) - 9 - 1 );
109 odebug << "Comment: " + comment << oendl; 109 odebug << "Comment: " + comment << oendl;
110 } 110 }
@@ -114,3 +114,3 @@ void RfCommConfHandler::load() {
114 save( m_foundEntries ); 114 save( m_foundEntries );
115 odebug << QString( "ENTries: %1").arg( m_foundEntries.count() ) << oendl; 115 odebug << QString( "ENTries: %1").arg( m_foundEntries.count() ) << oendl;
116} 116}