summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index c8ceed2..7b03f82 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -7,6 +7,7 @@
7#include <qscrollview.h> 7#include <qscrollview.h>
8#include <qsplitter.h> 8#include <qsplitter.h>
9#include <qlist.h> 9#include <qlist.h>
10#include <qpixmap.h>
10 11
11#include "bluetoothbase.h" 12#include "bluetoothbase.h"
12 13
@@ -21,6 +22,7 @@ class QPushButton;
21class QTabWidget; 22class QTabWidget;
22class QCheckBox; 23class QCheckBox;
23 24
25
24namespace OpieTooth { 26namespace OpieTooth {
25 27
26 28
@@ -41,9 +43,13 @@ namespace OpieTooth {
41 private: 43 private:
42 void readConfig(); 44 void readConfig();
43 void writeConfig(); 45 void writeConfig();
46 void readSavedDevices();
47 void writeSavedDevices();
44 QString getStatus(); 48 QString getStatus();
45 void initGui(); 49 void initGui();
50 void setInfo();
46 51
52 bool deviceActive( RemoteDevice *device );
47 53
48 QString deviceName; 54 QString deviceName;
49 QString defaultPasskey; 55 QString defaultPasskey;
@@ -52,8 +58,14 @@ namespace OpieTooth {
52 int enablePagescan; 58 int enablePagescan;
53 int enableInquiryscan; 59 int enableInquiryscan;
54 60
61 QPixmap offPix;
62 QPixmap onPix;
63
55 private slots: 64 private slots:
56 void addSearchedDevices( QList<RemoteDevice> &newDevices ); 65 void addSearchedDevices( QList<RemoteDevice> &newDevices );
66 void addServicesToDevice( QListViewItem * item );
67 void startServiceActionClicked( QListViewItem * item );
68 void startServiceActionHold( QListViewItem * item, const QPoint & point, int column);
57 void applyConfigChanges(); 69 void applyConfigChanges();
58 70
59 }; 71 };