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
@@ -39,2 +39,3 @@ class DesktopPowerAlerter;
class PackageSlave;
+class QPEScreenSaver;
@@ -46,2 +47,5 @@ public:
~DesktopApplication();
+
+ static void switchLCD ( bool on ); // only for togglePower in Desktop
+
signals:
@@ -61,4 +65,6 @@ protected:
#ifdef Q_WS_QWS
+
bool qwsEventFilter( QWSEvent * );
#endif
+
void shutdown();
@@ -67,3 +73,4 @@ protected:
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 );
@@ -78,2 +85,3 @@ private:
QCopChannel *channel;
+ QPEScreenSaver *m_screensaver;
};
@@ -81,3 +89,4 @@ private:
-class Desktop : public QWidget {
+class Desktop : public QWidget
+{
Q_OBJECT