summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/applet/bluezapplet.h
Unidiff
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 @@
29#ifndef __BLUEZAPPLET_H__ 29#ifndef __BLUEZAPPLET_H__
30#define __BLUEZAPPLET_H__ 30#define __BLUEZAPPLET_H__
31 31
32#include <qwidget.h> 32#include <qwidget.h>
33#include <qpixmap.h> 33#include <qpixmap.h>
34#include <qtimer.h> 34#include <qtimer.h>
35#include <manager.h>
35 36
36namespace OpieTooth { 37namespace OpieTooth {
37 class Device; 38 class Device;
38 39
39 class BluezApplet : public QWidget { 40 class BluezApplet : public QWidget {
40 Q_OBJECT 41 Q_OBJECT
@@ -43,30 +44,34 @@ namespace OpieTooth {
43 ~BluezApplet(); 44 ~BluezApplet();
44 static int position(); 45 static int position();
45 protected: 46 protected:
46 void timerEvent(QTimerEvent *te ); 47 void timerEvent(QTimerEvent *te );
47 48
48public slots: 49public slots:
50 void fillList( const QString& device, RemoteDevice::ValueList list );
51
49 private: 52 private:
50 void mousePressEvent( QMouseEvent * ); 53 void mousePressEvent( QMouseEvent * );
51 void paintEvent( QPaintEvent* ); 54 void paintEvent( QPaintEvent* );
52 void launchManager(); 55 void launchManager();
53 bool checkBluezStatus(); 56 bool checkBluezStatus();
54 int setBluezStatus(int); 57 int setBluezStatus(int);
55 int checkBluezDiscoveryStatus(); 58 int checkBluezDiscoveryStatus();
56 int setBluezDiscoveryStatus(int); 59 int setBluezDiscoveryStatus(int);
57 60
58 private: 61 private:
59 Device* btDevice; 62 Device* btDevice;
63 Manager *btManager;
60 QPixmap bluezOnPixmap; 64 QPixmap bluezOnPixmap;
61 QPixmap bluezOffPixmap; 65 QPixmap bluezOffPixmap;
62 QPixmap bluezDiscoveryOnPixmap; 66 QPixmap bluezDiscoveryOnPixmap;
63 bool bluezactive; 67 bool bluezactive;
64 bool bluezDiscoveryActive; 68 bool bluezDiscoveryActive;
65 69
66private slots: 70private slots:
71 void slotMessage( const QCString& , const QByteArray& );
67 72
68 73
69 }; 74 };
70}; 75};
71 76
72 77