summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/hciconfwrapper.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/hciconfwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/hciconfwrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/hciconfwrapper.cpp b/noncore/net/opietooth/manager/hciconfwrapper.cpp
index 71c935c..ca2e7bd 100644
--- a/noncore/net/opietooth/manager/hciconfwrapper.cpp
+++ b/noncore/net/opietooth/manager/hciconfwrapper.cpp
@@ -1,30 +1,33 @@
1#include "hciconfwrapper.h" 1#include "hciconfwrapper.h"
2 2
3#include <qfile.h> 3#include <qfile.h>
4#include <qtextstream.h> 4#include <qtextstream.h>
5#include <qregexp.h> 5#include <qregexp.h>
6 6
7#include <opie2/odebug.h>
8using namespace Opie::Core;
9
7namespace OpieTooth { 10namespace OpieTooth {
8 11
9 12
10 HciConfWrapper::HciConfWrapper( const QString &fileName) { 13 HciConfWrapper::HciConfWrapper( const QString &fileName) {
11 m_fileName = fileName; 14 m_fileName = fileName;
12 } 15 }
13 16
14 HciConfWrapper::~HciConfWrapper() { 17 HciConfWrapper::~HciConfWrapper() {
15 } 18 }
16 19
17 20
18 void HciConfWrapper::setPinHelper( const QString& app ) { 21 void HciConfWrapper::setPinHelper( const QString& app ) {
19 setValue( "pin_helper" , app ); 22 setValue( "pin_helper" , app );
20 } 23 }
21 24
22 void HciConfWrapper::setName( const QString &name ) { 25 void HciConfWrapper::setName( const QString &name ) {
23 qDebug ("NAME : " + name); 26 qDebug ("NAME : " + name);
24 setValue( "name" , "\"" + name + "\"" ); 27 setValue( "name" , "\"" + name + "\"" );
25 } 28 }
26 29
27 void HciConfWrapper::setIscan( bool enable) { 30 void HciConfWrapper::setIscan( bool enable) {
28 31
29 if ( enable ) { 32 if ( enable ) {
30 setValue( "iscan" , "enable" ); 33 setValue( "iscan" , "enable" );