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) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index c8ceed2..7b03f82 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -4,12 +4,13 @@
#include <qvariant.h>
#include <qwidget.h>
#include <qscrollview.h>
#include <qsplitter.h>
#include <qlist.h>
+#include <qpixmap.h>
#include "bluetoothbase.h"
#include <remotedevice.h>
class QVBox;
@@ -18,12 +19,13 @@ class QGridLayout;
class QFrame;
class QLabel;
class QPushButton;
class QTabWidget;
class QCheckBox;
+
namespace OpieTooth {
class BlueBase : public BluetoothBase {
Q_OBJECT
@@ -38,25 +40,35 @@ namespace OpieTooth {
private slots:
void startScan();
private:
void readConfig();
void writeConfig();
+ void readSavedDevices();
+ void writeSavedDevices();
QString getStatus();
void initGui();
+ void setInfo();
+ 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 startServiceActionClicked( QListViewItem * item );
+ void startServiceActionHold( QListViewItem * item, const QPoint & point, int column);
void applyConfigChanges();
};
}