summaryrefslogtreecommitdiff
path: root/core/launcher/desktop.h
authorjeremy <jeremy>2002-02-15 21:12:53 (UTC)
committer jeremy <jeremy>2002-02-15 21:12:53 (UTC)
commitb0768575b7bc1e4fe477d37a49cccc7e3d92bf85 (patch) (unidiff)
tree4c66c26f74ec710204f3f2e4303a6d6d8968c6a7 /core/launcher/desktop.h
parentb15950bcf97b5590d37373ec2beedab80e40ded6 (diff)
downloadopie-b0768575b7bc1e4fe477d37a49cccc7e3d92bf85.zip
opie-b0768575b7bc1e4fe477d37a49cccc7e3d92bf85.tar.gz
opie-b0768575b7bc1e4fe477d37a49cccc7e3d92bf85.tar.bz2
Added new QCop support. Desktop now listens on channel QPE/Desktop to the
keyRegister(int key, QString channel, QString message) message. What this will do is allow an app to reiceve keyboard input for a particular key no matter if they have focus or not.
Diffstat (limited to 'core/launcher/desktop.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/launcher/desktop.h b/core/launcher/desktop.h
index dfdbeab..f0a7cba 100644
--- a/core/launcher/desktop.h
+++ b/core/launcher/desktop.h
@@ -63,6 +63,9 @@ protected:
63 void shutdown(); 63 void shutdown();
64 void restart(); 64 void restart();
65 65
66public slots:
67 void receive( const QCString &msg, const QByteArray &data );
68
66protected slots: 69protected slots:
67 void shutdown(ShutdownImpl::Type); 70 void shutdown(ShutdownImpl::Type);
68 void psTimeout(); 71 void psTimeout();
@@ -71,6 +74,7 @@ private:
71 DesktopPowerAlerter *pa; 74 DesktopPowerAlerter *pa;
72 PowerStatus *ps; 75 PowerStatus *ps;
73 QTimer *cardSendTimer; 76 QTimer *cardSendTimer;
77 QCopChannel *channel;
74}; 78};
75 79
76 80