class KXMessages |
|
|
*************************************************************************
Copyright (C) 2001-2003 Lubos Lunak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ************************************************************************** Sending string messages to other applications using the X Client Messages. Used internally by KStartupInfo. You usually don't want to use this, use DBUS instead.
Author Lubos Lunak |
|
Creates an instance which will receive X messages.
accept_broadcast - if non-0, all broadcast messages with this message type will be received. parent - the parent of this widget obsolete - always set to false (needed for backwards compatibility with KDE3.1 and older) |
|
Deprecated This method is equivalent to the other constructor with obsolete = true. |
|
Broadcasts the given message with the given message type. msg_type - the type of the message message - the message itself screen - X11 screen to use, -1 for the default obsolete - always set to false (needed for backwards compatibility with KDE3.1 and older) |
|
Deprecated This method is equivalent to broadcastMessage() with obsolete = true. |
|
Broadcasts the given message with the given message type.
disp - X11 connection which will be used instead of qt_x11display() msg_type - the type of the message message - the message itself screen - X11 screen to use, -1 for the default obsolete - always set to false (needed for backwards compatibility with KDE3.1 and older) Returns false when an error occurred, true otherwise |
|
Deprecated This method is equivalent to broadcastMessageX() with obsolete = true. |
|
Emitted when a message was received. message - the message that has been received |
|
Sends the given message with the given message type only to given window.
w - X11 handle for the destination window msg_type - the type of the message message - the message itself obsolete - always set to false (needed for backwards compatibility with KDE3.1 and older) |
|
Deprecated This method is equivalent to sendMessage() with obsolete = true. |
|
Sends the given message with the given message type only to given window.
disp - X11 connection which will be used instead of qt_x11display() w - X11 handle for the destination window msg_type - the type of the message message - the message itself obsolete - always set to false (needed for backwards compatibility with KDE3.1 and older) Returns false when an error occurred, true otherwise |
|
Deprecated This method is equivalent to sendMessageX() with obsolete = true. |
|
Internal |