KDEUI
kxmessages.cpp
Go to the documentation of this file.
76 : XInternAtom( QX11Info::display(), QByteArray(QByteArray( accept_broadcast_P ) + "_BEGIN").constData(), false );
100 Atom a1 = obsolete_P ? a2 : XInternAtom( QX11Info::display(), QByteArray(QByteArray( msg_type_P ) + "_BEGIN").constData(), false );
115 Atom a1 = obsolete_P ? a2 : XInternAtom( QX11Info::display(), QByteArray(QByteArray( msg_type_P ) + "_BEGIN").constData(), false );
131 Atom a1 = obsolete_P ? a2 : XInternAtom( disp, QByteArray(QByteArray( msg_type_P ) + "_BEGIN").constData(), false );
154 Atom a1 = obsolete_P ? a2 : XInternAtom( disp, QByteArray(QByteArray( msg_type_P ) + "_BEGIN").constData(), false );
193 if( ev_P->xclient.message_type != d->accept_atom1 && ev_P->xclient.message_type != d->accept_atom2 )
static bool sendMessageX(Display *disp, WId w, const char *msg_type, const QString &message, bool obsolete)
Sends the given message with the given message type only to given window.
Definition: kxmessages.cpp:148
void broadcastMessage(const char *msg_type, const QString &message, int screen, bool obsolete)
Broadcasts the given message with the given message type.
Definition: kxmessages.cpp:96
Qt::HANDLE appRootWindow(int screen)
Display * display()
KXMessages(const char *accept_broadcast, QWidget *parent, bool obsolete)
Creates an instance which will receive X messages.
Definition: kxmessages.cpp:66
virtual bool x11Event(XEvent *event)
QString fromUtf8(const char *str, int size)
QPoint pos() const
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
void sendMessage(WId w, const char *msg_type, const QString &message, bool obsolete)
Sends the given message with the given message type only to given window.
Definition: kxmessages.cpp:111
static bool broadcastMessageX(Display *disp, const char *msg_type, const QString &message, int screen, bool obsolete)
Broadcasts the given message with the given message type.
Definition: kxmessages.cpp:125
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.