author | zecke <zecke> | 2002-07-12 17:14:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-12 17:14:58 (UTC) |
commit | 89dce758480cc90502ad14b6c4cf80774e6c1845 (patch) (unidiff) | |
tree | 2ff4e635c8aa86385dfd896084f5cd419efd0840 /noncore/net/opietooth/manager/bluebase.h | |
parent | 716211b5e06bb25145cfbcf62a11a7c52c79dde5 (diff) | |
download | opie-89dce758480cc90502ad14b6c4cf80774e6c1845.zip opie-89dce758480cc90502ad14b6c4cf80774e6c1845.tar.gz opie-89dce758480cc90502ad14b6c4cf80774e6c1845.tar.bz2 |
- Connection -> ConnectionState
- Factory adjustments
- Factory function
- Refactoring the QListViewItem derived class
BTListItem
|
- BTDeviceItem for RemoteDevices
|
- BTServiceItem for Services
|
- BTConnectionItem for ConnectionState
- misc bug fixes
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 11 |
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 | |||
@@ -10,7 +10,10 @@ | |||
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> |
@@ -51,7 +54,7 @@ namespace OpieTooth { | |||
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 | ||
@@ -69,10 +72,10 @@ namespace OpieTooth { | |||
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 ); |