Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index 0326daf..743062c 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h | |||
@@ -8,31 +8,33 @@ | |||
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 | ||
14 | #include "btserviceitem.h" | 14 | #include "btserviceitem.h" |
15 | #include "btdeviceitem.h" | 15 | #include "btdeviceitem.h" |
16 | |||
16 | #include "popuphelper.h" | 17 | #include "popuphelper.h" |
17 | 18 | ||
18 | #include "bticonloader.h" | 19 | #include "bticonloader.h" |
19 | 20 | ||
20 | #include <remotedevice.h> | 21 | #include <remotedevice.h> |
21 | #include <manager.h> | 22 | #include <manager.h> |
22 | 23 | ||
23 | class QVBox; | 24 | class QVBox; |
24 | class QHBoxLayout; | 25 | class QHBoxLayout; |
25 | class QGridLayout; | 26 | class QGridLayout; |
26 | class QFrame; | 27 | class QFrame; |
27 | class QLabel; | 28 | class QLabel; |
28 | class QPushButton; | 29 | class QPushButton; |
29 | class QTabWidget; | 30 | class QTabWidget; |
30 | class QCheckBox; | 31 | class QCheckBox; |
32 | class BTConnectionItem; | ||
31 | 33 | ||
32 | 34 | ||
33 | namespace OpieTooth { | 35 | namespace OpieTooth { |
34 | 36 | ||
35 | class BlueBase : public BluetoothBase { | 37 | class BlueBase : public BluetoothBase { |
36 | Q_OBJECT | 38 | Q_OBJECT |
37 | 39 | ||
38 | public: | 40 | public: |
@@ -50,16 +52,17 @@ namespace OpieTooth { | |||
50 | void readConfig(); | 52 | void readConfig(); |
51 | void writeConfig(); | 53 | void writeConfig(); |
52 | void readSavedDevices(); | 54 | void readSavedDevices(); |
53 | void writeSavedDevices(); | 55 | void writeSavedDevices(); |
54 | void writeToHciConfig(); | 56 | void writeToHciConfig(); |
55 | QString status()const; | 57 | QString status()const; |
56 | void initGui(); | 58 | void initGui(); |
57 | void setInfo(); | 59 | void setInfo(); |
60 | |||
58 | PopupHelper m_popHelper; | 61 | PopupHelper m_popHelper; |
59 | Manager *m_localDevice; | 62 | Manager *m_localDevice; |
60 | QMap<QString,BTDeviceItem*> m_deviceList; | 63 | QMap<QString,BTDeviceItem*> m_deviceList; |
61 | 64 | ||
62 | void deviceActive( const RemoteDevice &device ); | 65 | void deviceActive( const RemoteDevice &device ); |
63 | 66 | ||
64 | QString m_deviceName; | 67 | QString m_deviceName; |
65 | QString m_defaultPasskey; | 68 | QString m_defaultPasskey; |
@@ -79,14 +82,16 @@ namespace OpieTooth { | |||
79 | void addServicesToDevice( BTDeviceItem *item ); | 82 | void addServicesToDevice( BTDeviceItem *item ); |
80 | void addServicesToDevice( const QString& device, Services::ValueList ); | 83 | void addServicesToDevice( const QString& device, Services::ValueList ); |
81 | void addConnectedDevices(); | 84 | void addConnectedDevices(); |
82 | void addConnectedDevices( ConnectionState::ValueList ); | 85 | void addConnectedDevices( ConnectionState::ValueList ); |
83 | void startServiceActionClicked( QListViewItem *item ); | 86 | void startServiceActionClicked( QListViewItem *item ); |
84 | void startServiceActionHold( QListViewItem *, const QPoint &, int ); | 87 | void startServiceActionHold( QListViewItem *, const QPoint &, int ); |
85 | void deviceActive( const QString& mac, bool connected ); | 88 | void deviceActive( const QString& mac, bool connected ); |
86 | void applyConfigChanges(); | 89 | void applyConfigChanges(); |
90 | void addSignalStrength(); | ||
91 | void addSignalStrength( const QString& mac, const QString& strengh ); | ||
87 | 92 | ||
88 | }; | 93 | }; |
89 | 94 | ||
90 | } | 95 | } |
91 | 96 | ||
92 | #endif | 97 | #endif |