summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/applet/bluezapplet.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/applet/bluezapplet.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.h b/noncore/net/opietooth/applet/bluezapplet.h
index a394e38..3b99c0f 100644
--- a/noncore/net/opietooth/applet/bluezapplet.h
+++ b/noncore/net/opietooth/applet/bluezapplet.h
@@ -29,12 +29,13 @@
#ifndef __BLUEZAPPLET_H__
#define __BLUEZAPPLET_H__
#include <qwidget.h>
#include <qpixmap.h>
#include <qtimer.h>
+#include <manager.h>
namespace OpieTooth {
class Device;
class BluezApplet : public QWidget {
Q_OBJECT
@@ -43,30 +44,34 @@ namespace OpieTooth {
~BluezApplet();
static int position();
protected:
void timerEvent(QTimerEvent *te );
public slots:
+ void fillList( const QString& device, RemoteDevice::ValueList list );
+
private:
void mousePressEvent( QMouseEvent * );
void paintEvent( QPaintEvent* );
void launchManager();
bool checkBluezStatus();
int setBluezStatus(int);
int checkBluezDiscoveryStatus();
int setBluezDiscoveryStatus(int);
private:
Device* btDevice;
+ Manager *btManager;
QPixmap bluezOnPixmap;
QPixmap bluezOffPixmap;
QPixmap bluezDiscoveryOnPixmap;
bool bluezactive;
bool bluezDiscoveryActive;
private slots:
+ void slotMessage( const QCString& , const QByteArray& );
};
};