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

LauncherClock Class Reference

#include </home/clem/local/src/opie/core/applets/clockapplet/clock.h>

List of all members.

Public Member Functions

 LauncherClock (QWidget *parent)

Static Public Member Functions

static int position ()

Protected Slots

void updateTime (void)
void slotClockChanged (bool pm)

Protected Member Functions

void mousePressEvent (QMouseEvent *)
void timerEvent (QTimerEvent *)
void changeTime (void)
void readConfig ()

Protected Attributes

bool ampmFormat
int timerId
int format


Constructor & Destructor Documentation

LauncherClock::LauncherClock QWidget *  parent  ) 
 

Definition at line 40 of file clock.cpp.

References qApp, readConfig(), slotClockChanged(), timerEvent(), timerId, and updateTime().


Member Function Documentation

void LauncherClock::changeTime void   )  [protected]
 

Definition at line 122 of file clock.cpp.

References ampmFormat, QDate::currentDate(), QDateTime::currentDateTime(), d, QDate::day(), format, QTime::hour(), QTime::minute(), QDate::month(), s, and QString::sprintf().

Referenced by timerEvent(), and updateTime().

void LauncherClock::mousePressEvent QMouseEvent *   )  [protected]
 

Definition at line 67 of file clock.cpp.

References Global::execute(), FALSE, Opie::Core::OResource::loadPixmap(), Config::readBoolEntry(), Config::setGroup(), Opie::Core::OResource::SmallIcon, tr, and width.

int LauncherClock::position  )  [static]
 

Definition at line 54 of file clock.cpp.

void LauncherClock::readConfig  )  [protected]
 

Definition at line 59 of file clock.cpp.

References ampmFormat, format, Config::readBoolEntry(), Config::readNumEntry(), Config::setGroup(), and TRUE.

Referenced by LauncherClock(), and slotClockChanged().

void LauncherClock::slotClockChanged bool  pm  )  [protected, slot]
 

Definition at line 152 of file clock.cpp.

References readConfig(), and updateTime().

Referenced by LauncherClock().

void LauncherClock::timerEvent QTimerEvent *   )  [protected]
 

Definition at line 104 of file clock.cpp.

References changeTime(), QTime::currentTime(), QTime::msec(), QTime::second(), t, and timerId.

Referenced by LauncherClock().

void LauncherClock::updateTime void   )  [protected, slot]
 

Definition at line 117 of file clock.cpp.

References changeTime().

Referenced by LauncherClock(), and slotClockChanged().


Member Data Documentation

bool LauncherClock::ampmFormat [protected]
 

Definition at line 43 of file clock.h.

Referenced by changeTime(), and readConfig().

int LauncherClock::format [protected]
 

Definition at line 45 of file clock.h.

Referenced by changeTime(), and readConfig().

int LauncherClock::timerId [protected]
 

Definition at line 44 of file clock.h.

Referenced by LauncherClock(), and timerEvent().


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