From b0768575b7bc1e4fe477d37a49cccc7e3d92bf85 Mon Sep 17 00:00:00 2001 From: jeremy Date: Fri, 15 Feb 2002 21:12:53 +0000 Subject: 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. --- (limited to 'core/launcher/desktop.h') 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; }; -- cgit v0.9.0.2