author | jeremy <jeremy> | 2002-02-15 21:12:53 (UTC) |
---|---|---|
committer | jeremy <jeremy> | 2002-02-15 21:12:53 (UTC) |
commit | b0768575b7bc1e4fe477d37a49cccc7e3d92bf85 (patch) (side-by-side diff) | |
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 @@ -62,16 +62,20 @@ protected: #endif void shutdown(); void restart(); +public slots: + void receive( const QCString &msg, const QByteArray &data ); + protected slots: void shutdown(ShutdownImpl::Type); void psTimeout(); void sendCard(); private: DesktopPowerAlerter *pa; PowerStatus *ps; QTimer *cardSendTimer; + QCopChannel *channel; }; class Desktop : public QWidget { |