#include </home/clem/local/src/opie/noncore/tools/clock/clock.h>
Collaboration diagram for Clock:

Public Member Functions | |
| Clock (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| ~Clock () | |
Static Public Member Functions | |
| static QString | appName () |
Public Attributes | |
| QDateTime | when |
| bool | bSound |
| int | hour |
| int | minute |
| int | snoozeTime |
Protected Member Functions | |
| QDateTime | nextAlarm (int h, int m) |
| int | dayBtnIdx (int) const |
| void | closeEvent (QCloseEvent *e) |
| void | updateLap () |
| void | setSwatchLcd (QLCDNumber *lcd, int ms, bool showMs) |
| bool | eventFilter (QObject *, QEvent *) |
| bool | spinBoxValid (QSpinBox *sb) |
| bool | validDaysSelected (void) |
Private Slots | |
| void | stopStartStopWatch () |
| void | resetStopWatch () |
| void | prevLap () |
| void | nextLap () |
| void | lapTimeout () |
| void | tabChanged (QWidget *) |
| void | updateClock () |
| void | changeClock (bool) |
| void | setDailyAmPm (int) |
| void | setDailyMinute (int) |
| void | dailyEdited () |
| void | enableDaily (bool) |
| void | appMessage (const QCString &msg, const QByteArray &data) |
| void | alarmTimeout () |
| void | applyDailyAlarm () |
| void | scheduleApplyDailyAlarm () |
| void | slotBrowseMp3File () |
Private Attributes | |
| QTimer * | t |
| QTimer * | alarmt |
| QTime | swatch_start |
| int | swatch_totalms |
| QArray< int > | swatch_splitms |
| bool | swatch_running |
| int | swatch_currLap |
| int | swatch_dispLap |
| QToolButton * | prevLapBtn |
| QToolButton * | nextLapBtn |
| QTimer * | lapTimer |
| AnalogClock * | analogStopwatch |
| QLCDNumber * | stopwatchLcd |
| QBoxLayout * | swLayout |
| bool | ampm |
| bool | onMonday |
| int | alarmCount |
| AlarmDlg * | alarmDlg |
| QToolButton ** | dayBtn |
| bool | init |
| QTimer * | applyAlarmTimer |
|
||||||||||||||||
|
|
Definition at line 333 of file clock.cpp. References dayBtn, and toggleScreenSaver(). |
|
|
Definition at line 657 of file clock.cpp. References alarmCount, alarmt, and Sound::soundAlarm(). Referenced by Clock(). |
|
|
Definition at line 700 of file clock.cpp. References AlarmServer::addAlarm(), ALARM_CLOCK_CHANNEL, ALARM_CLOCK_MESSAGE, ampm, applyAlarmTimer, dayBtn, dayBtnIdx(), AlarmServer::deleteAlarm(), enableDaily(), hour, i, init, QString::isEmpty(), magic_daily, magic_playmp, magic_snooze, minute, nextAlarm(), QString::number(), Config::setGroup(), when, and Config::writeEntry(). Referenced by appMessage(), Clock(), and closeEvent(). |
|
||||||||||||
|
Definition at line 574 of file clock.cpp. References ALARM_CLOCK_MESSAGE, alarmCount, alarmDlg, alarmt, ampm, applyDailyAlarm(), enableDaily(), QPEApplication::execDialog(), FALSE, QTime::hour(), IO_ReadOnly, magic_countdown, magic_daily, magic_playmp, magic_snooze, QTime::minute(), NULL, resetStopWatch(), QPEApplication::setKeepRunning(), AlarmDlg::setText(), Sound::soundAlarm(), QString::sprintf(), startPlayer(), stopStartStopWatch(), swatch_running, t, QDateTime::time(), tr, TRUE, and when. Referenced by Clock(). |
|
|
Definition at line 60 of file clock.h. References QString::fromLatin1(). |
|
|
Definition at line 379 of file clock.cpp. References ampm, hour, minute, and updateClock(). Referenced by Clock(). |
|
|
Definition at line 763 of file clock.cpp. References applyDailyAlarm(), tr, validDaysSelected(), and warning(). |
|
|
Definition at line 561 of file clock.cpp. References applyAlarmTimer, scheduleApplyDailyAlarm(), and spinBoxValid(). Referenced by Clock(). |
|
|
Definition at line 685 of file clock.cpp. References onMonday. Referenced by applyDailyAlarm(), Clock(), and validDaysSelected(). |
|
|
Definition at line 569 of file clock.cpp. References scheduleApplyDailyAlarm(). Referenced by applyDailyAlarm(), appMessage(), and Clock(). |
|
||||||||||||
|
Definition at line 520 of file clock.cpp. References analogStopwatch, FALSE, stopwatchLcd, and swLayout. |
|
|
Definition at line 484 of file clock.cpp. References nextLapBtn, prevLapBtn, swatch_currLap, swatch_dispLap, and updateLap(). Referenced by Clock(). |
|
||||||||||||
|
Definition at line 668 of file clock.cpp. References QDateTime::addDays(), at(), QDateTime::currentDateTime(), QDateTime::date(), and when. Referenced by applyDailyAlarm(). |
|
|
Definition at line 474 of file clock.cpp. References nextLapBtn, prevLapBtn, swatch_currLap, swatch_dispLap, and updateLap(). Referenced by Clock(). |
|
|
Definition at line 464 of file clock.cpp. References nextLapBtn, prevLapBtn, swatch_currLap, swatch_dispLap, and updateLap(). Referenced by Clock(). |
|
|
Definition at line 438 of file clock.cpp. References QTime::elapsed(), FALSE, i, lapTimer, nextLapBtn, prevLapBtn, reset(), QTime::start(), swatch_currLap, swatch_dispLap, swatch_running, swatch_splitms, swatch_start, swatch_totalms, tr, TRUE, updateClock(), and updateLap(). Referenced by appMessage(), and Clock(). |
|
|
Definition at line 695 of file clock.cpp. References applyAlarmTimer, and TRUE. Referenced by Clock(), dailyEdited(), enableDaily(), setDailyAmPm(), and slotBrowseMp3File(). |
|
|
Definition at line 551 of file clock.cpp. References scheduleApplyDailyAlarm(). Referenced by Clock(). |
|
|
Definition at line 556 of file clock.cpp. Referenced by Clock(). |
|
||||||||||||||||
|
Definition at line 511 of file clock.cpp. References d, FALSE, QString::number(), QString::right(), sw_prec, and QTime::toString(). Referenced by updateClock(), and updateLap(). |
|
|
Definition at line 795 of file clock.cpp. References Opie::Ui::OFileDialog::getOpenFileName(), QMap< Key, T >::insert(), QString::isEmpty(), QString::null, QPEApplication::qpeDir(), scheduleApplyDailyAlarm(), Config::setGroup(), str, text, tr, and Config::writeEntry(). |
|
|
Definition at line 777 of file clock.cpp. References FALSE, i, QString::length(), QString::toInt(), TRUE, and v. Referenced by dailyEdited(). |
|
|
Definition at line 409 of file clock.cpp. References QTime::elapsed(), FALSE, nextLapBtn, prevLapBtn, reset(), QTime::start(), swatch_currLap, swatch_dispLap, swatch_running, swatch_splitms, swatch_start, swatch_totalms, t, toggleScreenSaver(), tr, TRUE, updateClock(), and updateLap(). Referenced by appMessage(), and Clock(). |
|
|
Definition at line 537 of file clock.cpp. References swatch_running, t, and updateClock(). Referenced by Clock(). |
|
|
Definition at line 339 of file clock.cpp. References ampm, analogStopwatch, QDate::currentDate(), TimeString::currentDateFormat(), QDateTime::currentDateTime(), QTime::currentTime(), TimeString::dateString(), AnalogClock::display(), QTime::elapsed(), FALSE, QTime::hour(), hour, QTime::minute(), s, setSwatchLcd(), QString::sprintf(), stopwatchLcd, swatch_currLap, swatch_dispLap, swatch_running, swatch_splitms, swatch_start, swatch_totalms, and updateLap(). Referenced by changeClock(), Clock(), resetStopWatch(), stopStartStopWatch(), and tabChanged(). |
|
|
Definition at line 492 of file clock.cpp. References QTime::elapsed(), setSwatchLcd(), swatch_currLap, swatch_dispLap, swatch_running, swatch_splitms, swatch_start, and swatch_totalms. Referenced by lapTimeout(), nextLap(), prevLap(), resetStopWatch(), stopStartStopWatch(), and updateClock(). |
|
|
Definition at line 753 of file clock.cpp. References dayBtn, dayBtnIdx(), FALSE, i, and TRUE. Referenced by closeEvent(). |
|
|
Definition at line 108 of file clock.h. Referenced by alarmTimeout(), and appMessage(). |
|
|
Definition at line 109 of file clock.h. Referenced by appMessage(), and Clock(). |
|
|
Definition at line 93 of file clock.h. Referenced by alarmTimeout(), appMessage(), and Clock(). |
|
|
Definition at line 106 of file clock.h. Referenced by applyDailyAlarm(), appMessage(), changeClock(), Clock(), and updateClock(). |
|
|
Definition at line 103 of file clock.h. Referenced by Clock(), eventFilter(), and updateClock(). |
|
|
Definition at line 112 of file clock.h. Referenced by applyDailyAlarm(), Clock(), dailyEdited(), and scheduleApplyDailyAlarm(). |
|
|
|
|
|
Definition at line 110 of file clock.h. Referenced by applyDailyAlarm(), Clock(), validDaysSelected(), and ~Clock(). |
|
|
Definition at line 59 of file clock.h. Referenced by applyDailyAlarm(), changeClock(), and updateClock(). |
|
|
Definition at line 111 of file clock.h. Referenced by applyDailyAlarm(), and Clock(). |
|
|
Definition at line 102 of file clock.h. Referenced by Clock(), and resetStopWatch(). |
|
|
Definition at line 59 of file clock.h. Referenced by applyDailyAlarm(), and changeClock(). |
|
|
Definition at line 101 of file clock.h. Referenced by Clock(), lapTimeout(), nextLap(), prevLap(), resetStopWatch(), and stopStartStopWatch(). |
|
|
Definition at line 107 of file clock.h. Referenced by Clock(), and dayBtnIdx(). |
|
|
Definition at line 100 of file clock.h. Referenced by Clock(), lapTimeout(), nextLap(), prevLap(), resetStopWatch(), and stopStartStopWatch(). |
|
|
|
|
|
Definition at line 104 of file clock.h. Referenced by Clock(), eventFilter(), and updateClock(). |
|
|
Definition at line 98 of file clock.h. Referenced by Clock(), lapTimeout(), nextLap(), prevLap(), resetStopWatch(), stopStartStopWatch(), updateClock(), and updateLap(). |
|
|
Definition at line 99 of file clock.h. Referenced by Clock(), lapTimeout(), nextLap(), prevLap(), resetStopWatch(), stopStartStopWatch(), updateClock(), and updateLap(). |
|
|
Definition at line 97 of file clock.h. Referenced by appMessage(), Clock(), resetStopWatch(), stopStartStopWatch(), tabChanged(), updateClock(), and updateLap(). |
|
|
Definition at line 96 of file clock.h. Referenced by Clock(), resetStopWatch(), stopStartStopWatch(), updateClock(), and updateLap(). |
|
|
Definition at line 94 of file clock.h. Referenced by resetStopWatch(), stopStartStopWatch(), updateClock(), and updateLap(). |
|
|
Definition at line 95 of file clock.h. Referenced by Clock(), resetStopWatch(), stopStartStopWatch(), updateClock(), and updateLap(). |
|
|
Definition at line 105 of file clock.h. Referenced by Clock(), and eventFilter(). |
|
|
Definition at line 92 of file clock.h. Referenced by appMessage(), Clock(), stopStartStopWatch(), and tabChanged(). |
|
|
Definition at line 57 of file clock.h. Referenced by applyDailyAlarm(), appMessage(), and nextAlarm(). |
1.4.2