-rw-r--r-- | core/launcher/desktop.h | 7 |
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 @@ -28,25 +28,25 @@ #include <qwidget.h> #include <qdatetime.h> class Background; class Launcher; class TaskBar; class PowerStatus; class QCopBridge; class TransferServer; class DesktopPowerAlerter; class PackageSlave; -class QPEScreenSaver; +class OpieScreenSaver; class DesktopApplication : public QPEApplication { Q_OBJECT public: DesktopApplication( int& argc, char **argv, Type t ); ~DesktopApplication(); static void switchLCD ( bool on ); // only for togglePower in Desktop signals: void menu(); @@ -68,34 +68,33 @@ protected: bool qwsEventFilter( QWSEvent * ); #endif void shutdown(); void restart(); public slots: virtual void desktopMessage ( const QCString &msg, const QByteArray &data ); virtual void systemMessage ( const QCString &msg, const QByteArray &data ); 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; int m_currentPowerLevel; }; class Desktop : public QWidget { Q_OBJECT public: Desktop(); |