summaryrefslogtreecommitdiff
path: root/core/launcher/desktop.h
authorsandman <sandman>2002-10-28 04:48:35 (UTC)
committer sandman <sandman>2002-10-28 04:48:35 (UTC)
commitcb687974f9e97c0ce6117b0ac4551ad4d4342b6a (patch) (side-by-side diff)
tree3128de5e3647a786bcc47a5fb14af06ba65f2a09 /core/launcher/desktop.h
parentf3c9e44d9d694a0a803fb6a7d79cfa8d173b9864 (diff)
downloadopie-cb687974f9e97c0ce6117b0ac4551ad4d4342b6a.zip
opie-cb687974f9e97c0ce6117b0ac4551ad4d4342b6a.tar.gz
opie-cb687974f9e97c0ce6117b0ac4551ad4d4342b6a.tar.bz2
- moved the QPEScreenSaver to screensaver.cpp/.h and renamed the class to
OpieScreenSaver - (hopefully) fixed all outstanding bugs regarding the new on batt/on ac handling - first (primitive) version of light sensor control (but it works)
Diffstat (limited to 'core/launcher/desktop.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/desktop.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/launcher/desktop.h b/core/launcher/desktop.h
index 8308811..f6059b8 100644
--- a/core/launcher/desktop.h
+++ b/core/launcher/desktop.h
@@ -37,7 +37,7 @@ class QCopBridge;
class TransferServer;
class DesktopPowerAlerter;
class PackageSlave;
-class QPEScreenSaver;
+class OpieScreenSaver;
class DesktopApplication : public QPEApplication
{
@@ -77,16 +77,15 @@ public slots:
protected slots:
void shutdown( ShutdownImpl::Type );
- void psTimeout( int );
void apmTimeout();
void sendCard();
private:
void reloadPowerWarnSettings();
DesktopPowerAlerter *pa;
- PowerStatus *ps;
+ PowerStatus *m_ps, *m_ps_last;
QTimer *cardSendTimer;
QCopChannel *channel;
- QPEScreenSaver *m_screensaver;
+ OpieScreenSaver *m_screensaver;
QTimer * m_timer;
int m_powerVeryLow;
int m_powerCritical;