author | mickeyl <mickeyl> | 2005-08-21 22:29:07 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-08-21 22:29:07 (UTC) |
commit | 4def5629dc68465b1dc8bb23c115e2f5f7513804 (patch) (side-by-side diff) | |
tree | c2a31fb9e46a3a3e7f797ef3fe0ea66b2f0b69df /noncore/net/opietooth/applet/bluezapplet.h | |
parent | 7f931999d32be3fc90b451347dfec52643d8eeb8 (diff) | |
download | opie-4def5629dc68465b1dc8bb23c115e2f5f7513804.zip opie-4def5629dc68465b1dc8bb23c115e2f5f7513804.tar.gz opie-4def5629dc68465b1dc8bb23c115e2f5f7513804.tar.bz2 |
Add some simple interfaces for device scanning (scanning for
discoverable receivers) to support OBEX Send, and requests for
taking BT up or down. Patch courtesy Michael Haynie - thanks!
Diffstat (limited to 'noncore/net/opietooth/applet/bluezapplet.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.h | 5 |
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 @@ -23,52 +23,57 @@ If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 public: BluezApplet( QWidget *parent = 0, const char *name=0 ); ~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& ); }; }; #endif |