KDEGames
kmessageio.h
Q_OBJECTQ_OBJECT
Definition: kmessageio.h:43
Q_SLOTSQ_SLOTS
virtual bool isConnected() const
This method returns the status of the object, whether it is already (or still) connected to another K...
Definition: kmessageio.cpp:49
void send(const QByteArray &msg) override
Overwritten slot method from KMessageIO.
Definition: kmessageio.cpp:108
KMessageDirect(KMessageDirect *partner=nullptr, QObject *parent=nullptr)
Creates an object and connects it to the object given in the first parameter.
Definition: kmessageio.cpp:185
ExitStatus
virtual void send(const QByteArray &msg)=0
This slot sends the data block in /e msg to the connected object, that will emit /e received().
Definition: kmessageio.h:149
bool isConnected() const override
Returns true if the socket is in state /e connected.
Definition: kmessageio.cpp:103
Q_SIGNALSQ_SIGNALS
ScriptableExtension * host() const
void send(const QByteArray &msg) override
Overwritten slot method from KMessageIO.
Definition: kmessageio.cpp:219
KMessageSocket(const QString &host, quint16 port, QObject *parent=nullptr)
Connects to a server socket on /e host with /e port.
Definition: kmessageio.cpp:67
bool isConnected() const override
Returns true, if the object is connected to another instance.
Definition: kmessageio.cpp:214
Definition: kmessageio.h:278
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 04:08:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 04:08:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.