-rw-r--r-- | core/launcher/desktop.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/launcher/desktop.h b/core/launcher/desktop.h index 04c2f61..15d8ef7 100644 --- a/core/launcher/desktop.h +++ b/core/launcher/desktop.h | |||
@@ -71,29 +71,34 @@ protected: | |||
71 | void shutdown(); | 71 | void shutdown(); |
72 | void restart(); | 72 | void restart(); |
73 | 73 | ||
74 | public slots: | 74 | public slots: |
75 | virtual void desktopMessage ( const QCString &msg, const QByteArray &data ); | 75 | virtual void desktopMessage ( const QCString &msg, const QByteArray &data ); |
76 | virtual void systemMessage ( const QCString &msg, const QByteArray &data ); | 76 | virtual void systemMessage ( const QCString &msg, const QByteArray &data ); |
77 | 77 | ||
78 | protected slots: | 78 | protected slots: |
79 | void shutdown( ShutdownImpl::Type ); | 79 | void shutdown( ShutdownImpl::Type ); |
80 | void psTimeout(); | 80 | void psTimeout(); |
81 | void sendCard(); | 81 | void sendCard(); |
82 | private: | 82 | private: |
83 | void reloadPowerWarnSettings(); | ||
83 | DesktopPowerAlerter *pa; | 84 | DesktopPowerAlerter *pa; |
84 | PowerStatus *ps; | 85 | PowerStatus *ps; |
85 | QTimer *cardSendTimer; | 86 | QTimer *cardSendTimer; |
86 | QCopChannel *channel; | 87 | QCopChannel *channel; |
87 | QPEScreenSaver *m_screensaver; | 88 | QPEScreenSaver *m_screensaver; |
89 | QTimer * m_timer; | ||
90 | int m_powerVeryLow; | ||
91 | int m_powerCritical; | ||
92 | |||
88 | }; | 93 | }; |
89 | 94 | ||
90 | 95 | ||
91 | class Desktop : public QWidget | 96 | class Desktop : public QWidget |
92 | { | 97 | { |
93 | Q_OBJECT | 98 | Q_OBJECT |
94 | public: | 99 | public: |
95 | Desktop(); | 100 | Desktop(); |
96 | ~Desktop(); | 101 | ~Desktop(); |
97 | 102 | ||
98 | static bool screenLocked(); | 103 | static bool screenLocked(); |
99 | 104 | ||