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) (side-by-side diff)
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:
void shutdown();
void restart();
+public slots:
+ void receive( const QCString &msg, const QByteArray &data );
+
protected slots:
void shutdown(ShutdownImpl::Type);
void psTimeout();
@@ -71,6 +74,7 @@ private:
DesktopPowerAlerter *pa;
PowerStatus *ps;
QTimer *cardSendTimer;
+ QCopChannel *channel;
};