summaryrefslogtreecommitdiff
path: root/core/launcher/desktop.h
Side-by-side diff
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
@@ -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: