author | harlekin <harlekin> | 2002-10-22 23:34:24 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-22 23:34:24 (UTC) |
commit | a4dccc9ce6de0bf75d11688b01f2cc010da3647e (patch) (side-by-side diff) | |
tree | 80c6c360b67bad9af77d79888bef97fa6feabc76 /core/launcher/desktop.h | |
parent | e4297ff151693e07313ea036de91ad3c788c5e26 (diff) | |
download | opie-a4dccc9ce6de0bf75d11688b01f2cc010da3647e.zip opie-a4dccc9ce6de0bf75d11688b01f2cc010da3647e.tar.gz opie-a4dccc9ce6de0bf75d11688b01f2cc010da3647e.tar.bz2 |
timer is now more separated from warnings
-rw-r--r-- | core/launcher/desktop.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/core/launcher/desktop.h b/core/launcher/desktop.h index 15d8ef7..8308811 100644 --- a/core/launcher/desktop.h +++ b/core/launcher/desktop.h @@ -76,21 +76,22 @@ public slots: virtual void systemMessage ( const QCString &msg, const QByteArray &data ); protected slots: void shutdown( ShutdownImpl::Type ); - void psTimeout(); + void psTimeout( int ); + void apmTimeout(); void sendCard(); private: - void reloadPowerWarnSettings(); - DesktopPowerAlerter *pa; - PowerStatus *ps; - QTimer *cardSendTimer; - QCopChannel *channel; - QPEScreenSaver *m_screensaver; - QTimer * m_timer; - int m_powerVeryLow; - int m_powerCritical; - + void reloadPowerWarnSettings(); + DesktopPowerAlerter *pa; + PowerStatus *ps; + QTimer *cardSendTimer; + QCopChannel *channel; + QPEScreenSaver *m_screensaver; + QTimer * m_timer; + int m_powerVeryLow; + int m_powerCritical; + int m_currentPowerLevel; }; class Desktop : public QWidget |