Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OpieTooth::BluezApplet Class Reference

#include </home/clem/local/src/opie/noncore/net/opietooth/applet/bluezapplet.h>

Collaboration diagram for OpieTooth::BluezApplet:

Collaboration graph
[legend]
List of all members.

Public Slots

void fillList (const QString &device, RemoteDevice::ValueList list)

Public Member Functions

 BluezApplet (QWidget *parent=0, const char *name=0)
 ~BluezApplet ()

Static Public Member Functions

static int position ()

Protected Member Functions

void timerEvent (QTimerEvent *te)

Private Slots

void slotMessage (const QCString &, const QByteArray &)

Private Member Functions

void mousePressEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)
void launchManager ()
bool checkBluezStatus ()
int setBluezStatus (int)
int checkBluezDiscoveryStatus ()
int setBluezDiscoveryStatus (int)

Private Attributes

DevicebtDevice
ManagerbtManager
QPixmap bluezOnPixmap
QPixmap bluezOffPixmap
QPixmap bluezDiscoveryOnPixmap
bool bluezactive
bool bluezDiscoveryActive

Constructor & Destructor Documentation

OpieTooth::BluezApplet::BluezApplet QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 58 of file bluezapplet.cpp.

References bluezactive, bluezDiscoveryActive, bluezDiscoveryOnPixmap, bluezOffPixmap, bluezOnPixmap, btDevice, btManager, slotMessage(), Opie::Core::OResource::SmallIcon, SmallIcon(), and AppLnk::smallIconSize().

OpieTooth::BluezApplet::~BluezApplet  ) 
 

Definition at line 76 of file bluezapplet.cpp.

References btDevice, and btManager.


Member Function Documentation

int OpieTooth::BluezApplet::checkBluezDiscoveryStatus  )  [private]
 

Definition at line 132 of file bluezapplet.cpp.

References bluezDiscoveryActive.

Referenced by timerEvent().

bool OpieTooth::BluezApplet::checkBluezStatus  )  [private]
 

Definition at line 91 of file bluezapplet.cpp.

References btDevice, and OpieTooth::Device::isLoaded().

Referenced by slotMessage(), and timerEvent().

void OpieTooth::BluezApplet::fillList const QString device,
RemoteDevice::ValueList  list
[slot]
 

Definition at line 165 of file bluezapplet.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), and list.

Referenced by slotMessage().

void OpieTooth::BluezApplet::launchManager  )  [private]
 

Launches the bluetooth manager

Definition at line 247 of file bluezapplet.cpp.

Referenced by mousePressEvent().

void OpieTooth::BluezApplet::mousePressEvent QMouseEvent *   )  [private]
 

Definition at line 181 of file bluezapplet.cpp.

References bluezactive, bluezDiscoveryActive, launchManager(), p, setBluezDiscoveryStatus(), setBluezStatus(), timerEvent(), and tr.

void OpieTooth::BluezApplet::paintEvent QPaintEvent *   )  [private]
 

Implementation of the paint event

Parameters:
the QPaintEvent

Definition at line 272 of file bluezapplet.cpp.

References bluezactive, bluezDiscoveryActive, bluezDiscoveryOnPixmap, bluezOffPixmap, bluezOnPixmap, odebug, oendl, and p.

int OpieTooth::BluezApplet::position  )  [static]
 

Definition at line 85 of file bluezapplet.cpp.

int OpieTooth::BluezApplet::setBluezDiscoveryStatus int   )  [private]
 

Definition at line 136 of file bluezapplet.cpp.

References bluezDiscoveryActive.

Referenced by mousePressEvent().

int OpieTooth::BluezApplet::setBluezStatus int   )  [private]
 

Definition at line 103 of file bluezapplet.cpp.

References btDevice, model, Opie::Core::Model_iPAQ_H39xx, Opie::Core::Model_iPAQ_H5xxx, and Opie::Core::Model_MyPal_716.

Referenced by mousePressEvent(), and slotMessage().

void OpieTooth::BluezApplet::slotMessage const QCString ,
const QByteArray
[private, slot]
 

Definition at line 142 of file bluezapplet.cpp.

References btManager, checkBluezStatus(), fillList(), Qtopia::Manager, OpieTooth::Manager::searchDevices(), and setBluezStatus().

Referenced by BluezApplet().

void OpieTooth::BluezApplet::timerEvent QTimerEvent *  te  )  [protected]
 

Refresh timer

Parameters:
the timer event

Definition at line 256 of file bluezapplet.cpp.

References bluezactive, bluezDiscoveryActive, checkBluezDiscoveryStatus(), and checkBluezStatus().

Referenced by mousePressEvent().


Member Data Documentation

bool OpieTooth::BluezApplet::bluezactive [private]
 

Definition at line 67 of file bluezapplet.h.

Referenced by BluezApplet(), mousePressEvent(), paintEvent(), and timerEvent().

bool OpieTooth::BluezApplet::bluezDiscoveryActive [private]
 

Definition at line 68 of file bluezapplet.h.

Referenced by BluezApplet(), checkBluezDiscoveryStatus(), mousePressEvent(), paintEvent(), setBluezDiscoveryStatus(), and timerEvent().

QPixmap OpieTooth::BluezApplet::bluezDiscoveryOnPixmap [private]
 

Definition at line 66 of file bluezapplet.h.

Referenced by BluezApplet(), and paintEvent().

QPixmap OpieTooth::BluezApplet::bluezOffPixmap [private]
 

Definition at line 65 of file bluezapplet.h.

Referenced by BluezApplet(), and paintEvent().

QPixmap OpieTooth::BluezApplet::bluezOnPixmap [private]
 

Definition at line 64 of file bluezapplet.h.

Referenced by BluezApplet(), and paintEvent().

Device* OpieTooth::BluezApplet::btDevice [private]
 

Definition at line 62 of file bluezapplet.h.

Referenced by BluezApplet(), checkBluezStatus(), setBluezStatus(), and ~BluezApplet().

Manager* OpieTooth::BluezApplet::btManager [private]
 

Definition at line 63 of file bluezapplet.h.

Referenced by BluezApplet(), slotMessage(), and ~BluezApplet().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:29 2005 for OPIE by  doxygen 1.4.2