#include <kipc.h>
Public Types | |
| enum | Message { , UserMessage = 32 } |
Static Public Methods | |
| void | sendMessage (Message msg, WId w, int data=0) |
| void | sendMessageAll (Message msg, int data=0) |
KIPC is mainly used in KDE for sending "Change Messages", i.e. a message to all KDE apps that a certain setting (the font, for example) has changed. For anything more complex it is recommended to use DCOP -- the Desktop Communications Protocol.
Messages with id code < 32 are called "System Messages". These are directly handled by KApplication. Examples are: PaletteChanged and StyleChanged. Messages with id code >= 32 are user messages. KApplication emits the signal kipcMessage(id,arg) for each user message it receives.
KIPC is implemented using X11 ClientMessage events.
Definition at line 49 of file kipc.h.
|
|
A identifier for messages. Messages below UserMessage are system messages, messages above can be defined by the user. |
|
||||||||||||||||
|
Send a message to a specific application.
|
|
||||||||||||
|
Send a message to all KDE application on the current display.
|
1.2.18