summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.h
Side-by-side diff
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
@@ -11,5 +11,5 @@
#include "bluetoothbase.h"
-
+#include "btlistitem.h"
#include <remotedevice.h>
@@ -50,7 +50,7 @@ namespace OpieTooth {
void setInfo();
Manager *localDevice;
- QMap<QString,QListViewItem*> deviceList;
+ QMap<QString,BTListItem*> deviceList;
- bool deviceActive( RemoteDevice *device );
+ void deviceActive( RemoteDevice *device );
QString deviceName;
@@ -66,9 +66,10 @@ namespace OpieTooth {
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();