From c513f413c7d901cc9945714c8e7eb47292f63306 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 22 Dec 2002 23:59:13 +0000 Subject: Totally reworked the key grabbing, which always had problems: - applications get *all* key events now, as long as they have the focus - an application decides if it has the keyboard grabbed or not - if it's grabbed, the app consumes the key press - if it's not grabbed and a F1-F29 key is pressed, the app sends a QCop call to the launcher (deviceButtonPressed(...)) - when the launcher receives a QCop deviceButtonPressed it simply sends the configured QCopEnvelope - all "special" actions (like menu, home) are now accessible via QCop calls (see buttonsettings) --- (limited to 'core/applets/cardmon') -- cgit v0.9.0.2