author | harlekin <harlekin> | 2002-06-23 20:55:21 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-23 20:55:21 (UTC) |
commit | 6fd150b4f49cab215eb65730242a7498ea990017 (patch) (side-by-side diff) | |
tree | 21bb54a14416773a4115e0302c8a6eea955e9cdc /noncore/net/opietooth/manager/bluebase.h | |
parent | a4a53967e152ba595d315b2491bb78070c446ee2 (diff) | |
download | opie-6fd150b4f49cab215eb65730242a7498ea990017.zip opie-6fd150b4f49cab215eb65730242a7498ea990017.tar.gz opie-6fd150b4f49cab215eb65730242a7498ea990017.tar.bz2 |
switched to BTListItem instead of setText atventures
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, 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 @@ -9,9 +9,9 @@ #include <qlist.h> #include <qpixmap.h> #include "bluetoothbase.h" - +#include "btlistitem.h" #include <remotedevice.h> #include <manager.h> @@ -48,11 +48,11 @@ namespace OpieTooth { QString getStatus(); void initGui(); void setInfo(); Manager *localDevice; - QMap<QString,QListViewItem*> deviceList; + QMap<QString,BTListItem*> deviceList; - bool deviceActive( RemoteDevice *device ); + void deviceActive( RemoteDevice *device ); QString deviceName; QString defaultPasskey; int useEncryption; @@ -64,13 +64,14 @@ namespace OpieTooth { QPixmap onPix; private slots: void addSearchedDevices( QList<RemoteDevice> &newDevices ); - void addServicesToDevice( QListViewItem *item ); + void addServicesToDevice( BTListItem *item ); void addServicesToDevice( const QString& device, Services::ValueList ); void addConnectedDevices(); void startServiceActionClicked( QListViewItem *item ); - void startServiceActionHold( QListViewItem *, const QPoint &, int ); + void startServiceActionHold( BTListItem *, const QPoint &, int ); + void deviceActive( const QString& mac, bool connected ); void applyConfigChanges(); }; |