KXMessages Class Reference
from PyKDE4.kdeui import *
Detailed Description
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.
Signals | |
gotMessage (QString message) | |
Methods | |
__init__ (self, QString accept_broadcast, QWidget parent, bool obsolete) | |
__init__ (self, QString accept_broadcast=NULL, QWidget parent=NULL) | |
broadcastMessage (self, QString msg_type, QString message, int screen, bool obsolete) | |
broadcastMessage (self, QString msg_type, QString message) | |
sendMessage (self, int w, QString msg_type, QString message, bool obsolete) | |
sendMessage (self, int w, QString msg_type, QString message) | |
Static Methods | |
bool | broadcastMessageX (Display disp, QString msg_type, QString message, int screen, bool obsolete) |
bool | broadcastMessageX (Display disp, QString msg_type, QString message) |
bool | sendMessageX (Display disp, int w, QString msg_type, QString message, bool obsolete) |
bool | sendMessageX (Display disp, int w, QString msg_type, QString message) |
Signal Documentation
gotMessage | ( | QString | message | |
) |
Emitted when a message was received.
- Parameters:
-
message the message that has been received
- Signal syntax:
QObject.connect(source, SIGNAL("gotMessage(const QString&)"), target_slot)
Method Documentation
Creates an instance which will receive X messages.
- Parameters:
-
accept_broadcast if non-NULL, 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.
- Deprecated:
- This method is equivalent to broadcastMessage() with obsolete = true.
- Deprecated:
- This method is equivalent to broadcastMessage() with obsolete = true.
- Deprecated:
- This method is equivalent to sendMessage() with obsolete = true.
- Deprecated:
- This method is equivalent to sendMessage() with obsolete = true.
Static Method Documentation
bool broadcastMessageX | ( | Display | disp, | |
QString | msg_type, | |||
QString | message, | |||
int | screen, | |||
bool | obsolete | |||
) |
- Deprecated:
- This method is equivalent to broadcastMessageX() with obsolete = true.
- Deprecated:
- This method is equivalent to broadcastMessageX() with obsolete = true.
- Deprecated:
- This method is equivalent to sendMessageX() with obsolete = true.