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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index 7b03f82..dcb7681 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -2,25 +2,27 @@
#ifndef BLUEBASE_H
#define BLUEBASE_H
#include <qvariant.h>
#include <qwidget.h>
#include <qscrollview.h>
#include <qsplitter.h>
#include <qlist.h>
#include <qpixmap.h>
#include "bluetoothbase.h"
+
#include <remotedevice.h>
+#include <manager.h>
class QVBox;
class QHBoxLayout;
class QGridLayout;
class QFrame;
class QLabel;
class QPushButton;
class QTabWidget;
class QCheckBox;
namespace OpieTooth {
@@ -39,37 +41,40 @@ namespace OpieTooth {
private slots:
void startScan();
private:
void readConfig();
void writeConfig();
void readSavedDevices();
void writeSavedDevices();
QString getStatus();
void initGui();
void setInfo();
+ Manager *localDevice;
+ QMap<QString,QListViewItem*> deviceList;
bool deviceActive( RemoteDevice *device );
QString deviceName;
QString defaultPasskey;
int useEncryption;
int enableAuthentification;
int enablePagescan;
int enableInquiryscan;
QPixmap offPix;
QPixmap onPix;
private slots:
void addSearchedDevices( QList<RemoteDevice> &newDevices );
void addServicesToDevice( QListViewItem * item );
+ void addServicesToDevice( const QString& device, Services::ValueList );
void startServiceActionClicked( QListViewItem * item );
void startServiceActionHold( QListViewItem * item, const QPoint & point, int column);
- void applyConfigChanges();
+ void applyConfigChanges();
};
}
#endif