summaryrefslogtreecommitdiff
path: root/core/launcher/desktop.h
authorsandman <sandman>2002-09-06 19:31:52 (UTC)
committer sandman <sandman>2002-09-06 19:31:52 (UTC)
commitc9f7e21a3897b4a02c6eb460286eacbfafbba06f (patch) (side-by-side diff)
tree9fa814c402f35184f029cf4de3e0b69e5c58c958 /core/launcher/desktop.h
parent088a233d52f2b06b6f478e73776eb2b430b2a1a5 (diff)
downloadopie-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
Diffstat (limited to 'core/launcher/desktop.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/desktop.h13
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
@@ -37,6 +37,7 @@ class QCopBridge;
class TransferServer;
class DesktopPowerAlerter;
class PackageSlave;
+class QPEScreenSaver;
class DesktopApplication : public QPEApplication
{
@@ -44,6 +45,9 @@ class DesktopApplication : public QPEApplication
public:
DesktopApplication( int& argc, char **argv, Type t );
~DesktopApplication();
+
+ static void switchLCD ( bool on ); // only for togglePower in Desktop
+
signals:
void home();
void datebook();
@@ -59,13 +63,16 @@ 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:
void shutdown(ShutdownImpl::Type);
@@ -76,10 +83,12 @@ private:
PowerStatus *ps;
QTimer *cardSendTimer;
QCopChannel *channel;
+ QPEScreenSaver *m_screensaver;
};
-class Desktop : public QWidget {
+class Desktop : public QWidget
+{
Q_OBJECT
public:
Desktop();