summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/devicehandler.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/devicehandler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/devicehandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/devicehandler.cpp b/noncore/net/opietooth/manager/devicehandler.cpp
index bd34351..320ad44 100644
--- a/noncore/net/opietooth/manager/devicehandler.cpp
+++ b/noncore/net/opietooth/manager/devicehandler.cpp
@@ -1,29 +1,31 @@
1 1
2#include <stdlib.h> 2#include <stdlib.h>
3 3
4#include <qdir.h> 4#include <qdir.h>
5#include <qpe/config.h> 5#include <qpe/config.h>
6#include <opie2/odebug.h>
7using namespace Opie::Core;
6 8
7#include "devicehandler.h" 9#include "devicehandler.h"
8 10
9using namespace OpieTooth; 11using namespace OpieTooth;
10 12
11DeviceHandler::DeviceHandler() { 13DeviceHandler::DeviceHandler() {
12 14
13}; 15};
14DeviceHandler::~DeviceHandler() { 16DeviceHandler::~DeviceHandler() {
15 17
16} 18}
17 19
18RemoteDevice::ValueList DeviceHandler::load() { 20RemoteDevice::ValueList DeviceHandler::load() {
19 RemoteDevice::ValueList list; 21 RemoteDevice::ValueList list;
20QString path = QDir::homeDirPath() + "/Settings/bluetooth"; 22QString path = QDir::homeDirPath() + "/Settings/bluetooth";
21 QDir deviceListSave( path); 23 QDir deviceListSave( path);
22 24
23 // list of .conf files 25 // list of .conf files
24 QStringList devicesFileList = deviceListSave.entryList(); 26 QStringList devicesFileList = deviceListSave.entryList();
25 27
26 28
27 // cut .conf of to get the mac and also read the name entry in it. 29 // cut .conf of to get the mac and also read the name entry in it.
28 if (!devicesFileList.isEmpty() ) { 30 if (!devicesFileList.isEmpty() ) {
29 QString name; 31 QString name;