|
|
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 |
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]
void send_message_internal ( WId w_P, const QString& msg_P, long mask_P,
Display* disp, Atom atom_P, Window handle_P )
| send_message_internal |
[protected static]
QWidget* handle | handle |
[protected]
Atom cached_atom | cached_atom |
[protected]
QCString cached_atom_name | cached_atom_name |
[protected]
Atom accept_atom | accept_atom |
[protected]
QMap< WId, QCString > incoming_messages | incoming_messages |
[protected]