summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/hciconfwrapper.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/hciconfwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/hciconfwrapper.cpp18
1 files changed, 9 insertions, 9 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
@@ -24,5 +24,5 @@ namespace OpieTooth {
void HciConfWrapper::setName( const QString &name ) {
- qDebug ("NAME : " + name);
+ odebug << "NAME : " << name << oendl;
setValue( "name" , "\"" + name + "\"" );
}
@@ -78,8 +78,8 @@ namespace OpieTooth {
str = (*it);
if( (str.contains(key)) > 0 ) {
- odebug << "Found" << oendl;
+ odebug << "Found" << oendl;
// still need to look if its commented out!!!
str.simplifyWhiteSpace();
- odebug << key << oendl;
+ odebug << key << oendl;
if (str.startsWith("#")) {
str = (key + " " + value + ";");
@@ -87,5 +87,5 @@ namespace OpieTooth {
str = str.replace( QRegExp( "\\s*"+key+"\\s+[^\\s][^;]*;" ), key + " " + value + ";");
}
- odebug << str << oendl;
+ odebug << str << oendl;
it = m_file.remove( it );
it = m_file.insert( it, str );
@@ -102,9 +102,9 @@ namespace OpieTooth {
*/
void HciConfWrapper::load() {
- owarn << "loaded" << oendl;
+ owarn << "loaded" << oendl;
m_file.clear();
QFile file( m_fileName );
if (!file.open( IO_ReadOnly ) ) {
- odebug << "Could not open" << oendl;
+ odebug << "Could not open" << oendl;
return;
}
@@ -123,5 +123,5 @@ namespace OpieTooth {
}
void HciConfWrapper::save() {
- owarn << "save" << oendl;
+ owarn << "save" << oendl;
if (m_file.isEmpty() ) // load first
return;
@@ -129,5 +129,5 @@ namespace OpieTooth {
QFile file( m_fileName );
if ( !file.open(IO_WriteOnly ) ) {
- owarn << "could not open " << m_fileName.latin1() << "" << oendl;
+ owarn << "could not open " << m_fileName.latin1() << "" << oendl;
return;
}
@@ -138,5 +138,5 @@ namespace OpieTooth {
stream << (*it) << endl;
}
- owarn << "saved" << oendl;
+ owarn << "saved" << oendl;
};
}