#include </home/clem/local/src/opie/core/launcher/serverapp.h>
Inheritance diagram for ServerApplication:


Public Slots | |
| virtual void | systemMessage (const QCString &msg, const QByteArray &) |
| virtual void | launcherMessage (const QCString &msg, const QByteArray &) |
| void | rereadVolumes () |
Signals | |
| void | menu () |
| void | home () |
| void | launch () |
| void | power () |
| void | backlight () |
| void | symbol () |
| void | numLockStateToggle () |
| void | capsLockStateToggle () |
| void | prepareForRestart () |
| void | activate (const Opie::Core::ODeviceButton *, bool) |
Public Member Functions | |
| ServerApplication (int &argc, char **argv, Type t) | |
| ~ServerApplication () | |
| void | restart () |
| int | exec () |
Static Public Member Functions | |
| static bool | screenLocked () |
| static void | login (bool at_poweron) |
| static bool | isStarting () |
| static void | switchLCD (bool on) |
| static void | soundAlarm () |
Static Public Attributes | |
| static bool | doRestart = FALSE |
| static bool | allowRestart = TRUE |
Protected Slots | |
| void | shutdown (ShutdownImpl::Type) |
| void | apmTimeout () |
| void | showSafeMode () |
| void | clearSafeMode () |
| void | togglePower () |
| void | toggleLight () |
Protected Member Functions | |
| bool | eventFilter (QObject *, QEvent *) |
| void | shutdown () |
| void | checkMemory () |
| bool | recoverMemory () |
| void | keyClick (int keycode, bool press, bool repeat) |
| void | screenClick (bool press) |
Private Member Functions | |
| void | reloadPowerWarnSettings () |
Static Private Member Functions | |
| static ServerApplication * | me () |
Private Attributes | |
| KeyFilter * | kf |
| DesktopPowerAlerter * | pa |
| PowerStatus * | m_ps |
| PowerStatus * | m_ps_last |
| OpieScreenSaver * | m_screensaver |
| QTimer * | m_apm_timer |
| QDateTime | m_suspendTime |
| int | m_powerVeryLow |
| int | m_powerCritical |
| int | m_currentPowerLevel |
| bool | m_keyclick_sound: 1 |
| bool | m_screentap_sound: 1 |
| bool | m_alarm_sound: 1 |
Static Private Attributes | |
| static bool | ms_is_starting = TRUE |
Friends | |
| class | KeyFilter |
|
||||||||||||||||
|
|
Definition at line 381 of file serverapp.cpp. References m_ps, m_ps_last, pa, and QPEApplication::ungrabKeyboard(). |
|
||||||||||||
|
Referenced by ServerApplication(). |
|
|
Definition at line 390 of file serverapp.cpp. References PowerStatus::acStatus(), DesktopPowerAlerter::alert(), checkMemory(), m_powerCritical, m_powerVeryLow, m_ps, m_ps_last, m_screensaver, QString::null, PowerStatus::Online, pa, PowerStatusManager::readStatus(), tr, TRUE, and PowerStatus::VeryLow. Referenced by ServerApplication(). |
|
|
Referenced by ServerApplication(). |
|
|
Referenced by ServerApplication(). |
|
|
Definition at line 782 of file serverapp.cpp. References FALSE, MemLow, MemNormal, memstate, MemUnknown, MemVeryLow, recoverMemory(), tr, TRUE, and warning(). Referenced by apmTimeout(). |
|
|
Definition at line 685 of file serverapp.cpp. References Config::readEntry(), Config::setGroup(), and Config::writeEntry(). Referenced by ServerApplication(). |
|
||||||||||||
|
Reimplemented from QPEApplication. Definition at line 622 of file serverapp.cpp. References KeyFilter::checkButtonAction(), QPEApplication::eventFilter(), KeyPress, KeyRelease, and kf. |
|
|
Reimplemented from QPEApplication. Definition at line 856 of file serverapp.cpp. References QPEApplication::exec(), ms_is_starting, odebug, and oendl. Referenced by initApplication(). |
|
|
|
|
|
Definition at line 851 of file serverapp.cpp. References ms_is_starting. |
|
||||||||||||||||
|
Definition at line 828 of file serverapp.cpp. References m_keyclick_sound. Referenced by KeyFilter::checkButtonAction(). |
|
|
Referenced by ServerApplication(). |
|
||||||||||||
|
Definition at line 496 of file serverapp.cpp. References KeyFilter::checkButtonAction(), IO_ReadOnly, keycode, kf, and stream. Referenced by ServerApplication(). |
|
|
Definition at line 521 of file serverapp.cpp. References Opie::Security::MultiauthPassword::authenticate(), Opie::Security::IfPowerOn, Opie::Security::IfResume, loggedin, and Global::terminateBuiltin(). Referenced by Server::show(), and togglePower(). |
|
|
Definition at line 846 of file serverapp.cpp. References qApp. Referenced by switchLCD(). |
|
|
|
|
|
Referenced by ServerApplication(). |
|
|
Referenced by ServerApplication(), and systemMessage(). |
|
|
|
|
|
Definition at line 823 of file serverapp.cpp. References FALSE. Referenced by checkMemory(). |
|
|
Definition at line 481 of file serverapp.cpp. References m_apm_timer, m_powerCritical, m_powerVeryLow, and start. Referenced by ServerApplication(), and systemMessage(). |
|
|
Definition at line 771 of file serverapp.cpp. References m_alarm_sound, m_keyclick_sound, and m_screentap_sound. Referenced by ServerApplication(). |
|
|
For internal use only.
Reimplemented from QPEApplication. Definition at line 743 of file serverapp.cpp. References allowRestart, doRestart, NULL, QPEApplication::prepareForTermination(), QPEApplication::qpeDir(), and TRUE. Referenced by initApplication(), and shutdown(). |
|
|
Definition at line 835 of file serverapp.cpp. References m_screentap_sound. |
|
|
Definition at line 516 of file serverapp.cpp. References loggedin. Referenced by Server::systemMsg(). |
|
|
Definition at line 671 of file serverapp.cpp. References Global::execute(), tr, and warning(). Referenced by ServerApplication(). |
|
|
Definition at line 710 of file serverapp.cpp. References FALSE, Opie::Core::perror(), QPEApplication::prepareForTermination(), ShutdownImpl::RebootSystem, restart(), ShutdownImpl::RestartDesktop, ShutdownImpl::ShutdownSystem, and ShutdownImpl::TerminateDesktop. |
|
|
For internal use only.
Reimplemented from QPEApplication. Definition at line 700 of file serverapp.cpp. References sd, QPEApplication::showWidget(), and type. |
|
|
Definition at line 841 of file serverapp.cpp. References m_alarm_sound. Referenced by Server::receiveTaskBar(). |
|
|
Definition at line 291 of file serverapp.cpp. References m_screensaver, me(), and qApp. Referenced by togglePower(). |
|
|
Referenced by ServerApplication(). |
|
||||||||||||
|
Reimplemented from QPEApplication. Definition at line 433 of file serverapp.cpp. References QFile::exists(), IO_ReadOnly, m_screensaver, power(), reloadPowerWarnSettings(), stream, and tr. Referenced by ServerApplication(). |
|
|
Definition at line 608 of file serverapp.cpp. Referenced by ServerApplication(). |
|
|
Definition at line 567 of file serverapp.cpp. References QDateTime::currentDateTime(), execAutoStart(), fillRect(), g, height, loggedin, login(), m_suspendTime, Opie::Security::MultiauthPassword::needToAuthenticate(), QWSServer::screenSaverActivate(), switchLCD(), and width. Referenced by ServerApplication(). |
|
|
Definition at line 166 of file serverapp.h. Referenced by ServerApplication(). |
|
|
Definition at line 288 of file serverapp.cpp. Referenced by FirstUse::FirstUse(), FirstUse::nextDialog(), restart(), and FirstUse::~FirstUse(). |
|
|
Definition at line 287 of file serverapp.cpp. |
|
|
Definition at line 147 of file serverapp.h. Referenced by eventFilter(), launcherMessage(), and ServerApplication(). |
|
|
Definition at line 162 of file serverapp.h. Referenced by rereadVolumes(), and soundAlarm(). |
|
|
Definition at line 154 of file serverapp.h. Referenced by reloadPowerWarnSettings(), and ServerApplication(). |
|
|
Definition at line 158 of file serverapp.h. |
|
|
Definition at line 160 of file serverapp.h. Referenced by keyClick(), and rereadVolumes(). |
|
|
Definition at line 157 of file serverapp.h. Referenced by apmTimeout(), and reloadPowerWarnSettings(). |
|
|
Definition at line 156 of file serverapp.h. Referenced by apmTimeout(), and reloadPowerWarnSettings(). |
|
|
Definition at line 152 of file serverapp.h. Referenced by apmTimeout(), ServerApplication(), and ~ServerApplication(). |
|
|
Definition at line 152 of file serverapp.h. Referenced by apmTimeout(), ServerApplication(), and ~ServerApplication(). |
|
|
Definition at line 153 of file serverapp.h. Referenced by apmTimeout(), ServerApplication(), switchLCD(), and systemMessage(). |
|
|
Definition at line 161 of file serverapp.h. Referenced by rereadVolumes(), and screenClick(). |
|
|
Definition at line 155 of file serverapp.h. Referenced by togglePower(). |
|
|
Definition at line 289 of file serverapp.cpp. Referenced by exec(), isStarting(), and ServerApplication(). |
|
|
Definition at line 151 of file serverapp.h. Referenced by apmTimeout(), ServerApplication(), and ~ServerApplication(). |
1.4.2