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

BenD Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/mail2/bend/bend.h>

Collaboration diagram for BenD:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BenD (QWidget *parent=0, const char *name=0, WFlags fl=0)

Protected Slots

void slotCheck ()
void slotClicked ()
void slotIMAPStatus (IMAPResponse &response)

Protected Member Functions

void drawButton (QPainter *)
void drawButtonText (QPainter *)
void gotNewMail ()

Private Attributes

Config_config
QTimer * _intervalTimer
int _intervalMs

Constructor & Destructor Documentation

BenD::BenD QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 21 of file bend.cpp.

References _config, _intervalMs, _intervalTimer, Resource::loadPixmap(), Config::readBoolEntry(), Config::readNumEntry(), Config::setGroup(), slotCheck(), and slotClicked().


Member Function Documentation

void BenD::drawButton QPainter *   )  [protected]
 

Definition at line 50 of file bend.cpp.

void BenD::drawButtonText QPainter *   )  [protected]
 

Definition at line 51 of file bend.cpp.

void BenD::gotNewMail  )  [protected]
 

void BenD::slotCheck  )  [protected, slot]
 

Definition at line 66 of file bend.cpp.

References _config, _intervalMs, _intervalTimer, QValueList< T >::begin(), QValueList< T >::end(), ConfigFile::getAccounts(), handler, IMAPHandler::iStatus(), qWarning(), Config::readNumEntry(), and slotIMAPStatus().

Referenced by BenD().

void BenD::slotClicked  )  [protected, slot]
 

Definition at line 53 of file bend.cpp.

References device, Opie::ODevice::inst(), Opie::Core::Led_Mail, Opie::Core::Led_Off, and Opie::ODevice::setLedState().

Referenced by BenD().

void BenD::slotIMAPStatus IMAPResponse response  )  [protected, slot]
 

Definition at line 95 of file bend.cpp.

References _config, Opie::ODevice::alarmSound(), device, IMAPResponse::imapHandler(), Opie::ODevice::inst(), Opie::Core::Led_BlinkSlow, Opie::Core::Led_Mail, Opie::Core::Led_Off, Opie::Core::Led_On, IMAPResponseEnums::OK, qWarning(), Config::readBoolEntry(), Opie::ODevice::setLedState(), IMAPResponse::STATUS(), and IMAPResponse::statusResponse().

Referenced by slotCheck().


Member Data Documentation

Config* BenD::_config [private]
 

Definition at line 28 of file bend.h.

Referenced by BenD(), slotCheck(), and slotIMAPStatus().

int BenD::_intervalMs [private]
 

Definition at line 30 of file bend.h.

Referenced by BenD(), and slotCheck().

QTimer* BenD::_intervalTimer [private]
 

Definition at line 29 of file bend.h.

Referenced by BenD(), and slotCheck().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:27:09 2005 for OPIE by  doxygen 1.4.2