|
|
Sending string messages to other applications using the X Client Messages.
Used internally by KStartupInfo. You usually don't want to use this, use DCOP instead.
| KXMessages ( const char* accept_broadcast = NULL, QWidget* parent = NULL )
| KXMessages |
Creates an instance which will receive X messages.
If accept_broadcast is non-NULL, all broadcast messages with this message type will be received.
| ~KXMessages ()
| ~KXMessages |
[virtual]
| void sendMessage ( WId w, const char* msg_type, const QString& message )
| sendMessage |
Sends the given message with the given message type only to given window.
Parameters:
| w | X11 handle for the destination window |
| void broadcastMessage ( const char* msg_type, const QString& message )
| broadcastMessage |
Broadcasts the given message with the given message type.
| bool sendMessageX ( Display* disp, WId w, const char* msg_type,
const QString& message )
| sendMessageX |
[static]
| bool broadcastMessageX ( Display* disp, const char* msg_type,
const QString& message )
| broadcastMessageX |
[static]
Broadcasts the given message with the given message type.
Parameters:
| disp | X11 connection which will be used instead of qt_x11display() |
| void gotMessage ( const QString& message )
| gotMessage |
[signal]
Emitted when a message was received.
| bool x11Event ( XEvent* ev )
| x11Event |
[protected virtual]