summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index dee721d..481f0c9 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -7,13 +7,13 @@
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#include <qpixmap.h>
11 11
12#include "bluetoothbase.h" 12#include "bluetoothbase.h"
13 13#include "btlistitem.h"
14 14
15#include <remotedevice.h> 15#include <remotedevice.h>
16#include <manager.h> 16#include <manager.h>
17 17
18class QVBox; 18class QVBox;
19class QHBoxLayout; 19class QHBoxLayout;
@@ -46,15 +46,15 @@ namespace OpieTooth {
46 void readSavedDevices(); 46 void readSavedDevices();
47 void writeSavedDevices(); 47 void writeSavedDevices();
48 QString getStatus(); 48 QString getStatus();
49 void initGui(); 49 void initGui();
50 void setInfo(); 50 void setInfo();
51 Manager *localDevice; 51 Manager *localDevice;
52 QMap<QString,QListViewItem*> deviceList; 52 QMap<QString,BTListItem*> deviceList;
53 53
54 bool deviceActive( RemoteDevice *device ); 54 void deviceActive( RemoteDevice *device );
55 55
56 QString deviceName; 56 QString deviceName;
57 QString defaultPasskey; 57 QString defaultPasskey;
58 int useEncryption; 58 int useEncryption;
59 int enableAuthentification; 59 int enableAuthentification;
60 int enablePagescan; 60 int enablePagescan;
@@ -62,17 +62,18 @@ namespace OpieTooth {
62 62
63 QPixmap offPix; 63 QPixmap offPix;
64 QPixmap onPix; 64 QPixmap onPix;
65 65
66 private slots: 66 private slots:
67 void addSearchedDevices( QList<RemoteDevice> &newDevices ); 67 void addSearchedDevices( QList<RemoteDevice> &newDevices );
68 void addServicesToDevice( QListViewItem *item ); 68 void addServicesToDevice( BTListItem *item );
69 void addServicesToDevice( const QString& device, Services::ValueList ); 69 void addServicesToDevice( const QString& device, Services::ValueList );
70 void addConnectedDevices(); 70 void addConnectedDevices();
71 void startServiceActionClicked( QListViewItem *item ); 71 void startServiceActionClicked( QListViewItem *item );
72 void startServiceActionHold( QListViewItem *, const QPoint &, int ); 72 void startServiceActionHold( BTListItem *, const QPoint &, int );
73 void deviceActive( const QString& mac, bool connected );
73 void applyConfigChanges(); 74 void applyConfigChanges();
74 75
75 }; 76 };
76 77
77} 78}
78 79