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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index 73fac97..a8f4fe4 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -7,13 +7,16 @@
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#include "btlistitem.h" 13
14#include "btserviceitem.h"
15#include "btdeviceitem.h"
16
14#include "bticonloader.h" 17#include "bticonloader.h"
15 18
16#include <remotedevice.h> 19#include <remotedevice.h>
17#include <manager.h> 20#include <manager.h>
18 21
19class QVBox; 22class QVBox;
@@ -48,13 +51,13 @@ namespace OpieTooth {
48 void writeSavedDevices(); 51 void writeSavedDevices();
49 void writeToHciConfig(); 52 void writeToHciConfig();
50 QString status()const; 53 QString status()const;
51 void initGui(); 54 void initGui();
52 void setInfo(); 55 void setInfo();
53 Manager *m_localDevice; 56 Manager *m_localDevice;
54 QMap<QString,BTListItem*> m_deviceList; 57 QMap<QString,BTDeviceItem*> m_deviceList;
55 58
56 void deviceActive( const RemoteDevice &device ); 59 void deviceActive( const RemoteDevice &device );
57 60
58 QString m_deviceName; 61 QString m_deviceName;
59 QString m_defaultPasskey; 62 QString m_defaultPasskey;
60 bool m_useEncryption; 63 bool m_useEncryption;
@@ -66,16 +69,16 @@ namespace OpieTooth {
66 QPixmap m_onPix; 69 QPixmap m_onPix;
67 70
68 BTIconLoader *m_iconLoader; 71 BTIconLoader *m_iconLoader;
69 72
70 private slots: 73 private slots:
71 void addSearchedDevices( const QValueList<RemoteDevice> &newDevices ); 74 void addSearchedDevices( const QValueList<RemoteDevice> &newDevices );
72 void addServicesToDevice( BTListItem *item ); 75 void addServicesToDevice( BTDeviceItem *item );
73 void addServicesToDevice( const QString& device, Services::ValueList ); 76 void addServicesToDevice( const QString& device, Services::ValueList );
74 void addConnectedDevices(); 77 void addConnectedDevices();
75 void addConnectedDevices( Connection::ValueList ); 78 void addConnectedDevices( ConnectionState::ValueList );
76 void startServiceActionClicked( QListViewItem *item ); 79 void startServiceActionClicked( QListViewItem *item );
77 void startServiceActionHold( QListViewItem *, const QPoint &, int ); 80 void startServiceActionHold( QListViewItem *, const QPoint &, int );
78 void deviceActive( const QString& mac, bool connected ); 81 void deviceActive( const QString& mac, bool connected );
79 void applyConfigChanges(); 82 void applyConfigChanges();
80 83
81 }; 84 };