author | jeremy <jeremy> | 2002-02-15 21:12:53 (UTC) |
---|---|---|
committer | jeremy <jeremy> | 2002-02-15 21:12:53 (UTC) |
commit | b0768575b7bc1e4fe477d37a49cccc7e3d92bf85 (patch) (unidiff) | |
tree | 4c66c26f74ec710204f3f2e4303a6d6d8968c6a7 /core/launcher/desktop.h | |
parent | b15950bcf97b5590d37373ec2beedab80e40ded6 (diff) | |
download | opie-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.
-rw-r--r-- | core/launcher/desktop.h | 4 |
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 | ||
66 | public slots: | ||
67 | void receive( const QCString &msg, const QByteArray &data ); | ||
68 | |||
66 | protected slots: | 69 | protected 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 | ||