summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-03-11 14:59:10 (UTC)
committer harlekin <harlekin>2002-03-11 14:59:10 (UTC)
commitfbc69c770602ee58e1b2d31a60d7743abb10cc2c (patch) (side-by-side diff)
treea33b1c31b3baed2a1ce33601bc081813b34665dd
parentd9406acf405148290c11a49fc09f5ed6b1258843 (diff)
downloadopie-fbc69c770602ee58e1b2d31a60d7743abb10cc2c.zip
opie-fbc69c770602ee58e1b2d31a60d7743abb10cc2c.tar.gz
opie-fbc69c770602ee58e1b2d31a60d7743abb10cc2c.tar.bz2
added a QPE/Desktop 'suspend()' qcop channel
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp
index 4587ec6..da535d9 100644
--- a/core/launcher/desktop.cpp
+++ b/core/launcher/desktop.cpp
@@ -173,3 +173,7 @@ void DesktopApplication::receive( const QCString &msg, const QByteArray &data )
keyRegisterList.append(QCopKeyRegister(k,c,m));
- }
+ }
+ else if (msg == "suspend()"){
+ emit power();
+ }
+
}