author | sandman <sandman> | 2002-09-06 19:31:52 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-06 19:31:52 (UTC) |
commit | c9f7e21a3897b4a02c6eb460286eacbfafbba06f (patch) (side-by-side diff) | |
tree | 9fa814c402f35184f029cf4de3e0b69e5c58c958 /core/launcher/desktop.h | |
parent | 088a233d52f2b06b6f478e73776eb2b430b2a1a5 (diff) | |
download | opie-c9f7e21a3897b4a02c6eb460286eacbfafbba06f.zip opie-c9f7e21a3897b4a02c6eb460286eacbfafbba06f.tar.gz opie-c9f7e21a3897b4a02c6eb460286eacbfafbba06f.tar.bz2 |
Last part of the LCD control changes:
- Added the screen-saver part of libqpe to the DesktopApplication object
- Cleaned up the remaining mess
- reformated with astyle
-rw-r--r-- | core/launcher/desktop.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/core/launcher/desktop.h b/core/launcher/desktop.h index 9bc4be9..b9ff39f 100644 --- a/core/launcher/desktop.h +++ b/core/launcher/desktop.h @@ -38,4 +38,5 @@ class TransferServer; class DesktopPowerAlerter; class PackageSlave; +class QPEScreenSaver; class DesktopApplication : public QPEApplication @@ -45,4 +46,7 @@ public: DesktopApplication( int& argc, char **argv, Type t ); ~DesktopApplication(); + + static void switchLCD ( bool on ); // only for togglePower in Desktop + signals: void home(); @@ -60,11 +64,14 @@ signals: protected: #ifdef Q_WS_QWS + bool qwsEventFilter( QWSEvent * ); #endif + void shutdown(); void restart(); public slots: - void receive( const QCString &msg, const QByteArray &data ); + virtual void desktopMessage ( const QCString &msg, const QByteArray &data ); + virtual void systemMessage ( const QCString &msg, const QByteArray &data ); protected slots: @@ -77,8 +84,10 @@ private: QTimer *cardSendTimer; QCopChannel *channel; + QPEScreenSaver *m_screensaver; }; -class Desktop : public QWidget { +class Desktop : public QWidget +{ Q_OBJECT public: |