libkdegames/libkdegamesprivate/kgame
kmessageio.cpp
Go to the documentation of this file.
156 connect (mSocket, SIGNAL (error(QAbstractSocket::SocketError)), this, SIGNAL (connectionBroken()));
310 kDebug(11001) << "$$$$$$ " << ": Received" << ba.size() << "bytes over inter process communication";
313 while (mReceiveCount+ba.size()>=mReceiveBuffer.size()) mReceiveBuffer.resize(mReceiveBuffer.size()+1024);
void send(const QByteArray &msg)
This slot sends the data block in /e msg to the connected object, that will emit /e received()...
Definition: kmessageio.cpp:263
void signalReceivedStderr(QString msg)
void received(const QByteArray &msg)
This signal is emitted when /e send() on the connected KMessageIO object is called.
void send(const QByteArray &msg)
Overwritten slot method from KMessageIO.
Definition: kmessageio.cpp:92
void slotProcessExited(int, QProcess::ExitStatus)
Definition: kmessageio.cpp:357
This class implements the message communication using function calls directly.
Definition: kmessageio.h:294
void send(const QByteArray &msg)
Overwritten slot method from KMessageIO.
Definition: kmessageio.cpp:211
KMessageIO(QObject *parent=0)
The usual QObject constructor, does nothing else.
Definition: kmessageio.cpp:32
bool isConnected() const
This method returns the status of the object, whether it is already (or still) connected to another K...
Definition: kmessageio.cpp:254
bool isConnected() const
Returns true, if the object is connected to another instance.
Definition: kmessageio.cpp:206
This abstract base class represents one end of a message connections between two clients.
Definition: kmessageio.h:57
bool isConnected() const
Returns true if the socket is in state /e connected.
Definition: kmessageio.cpp:87
KMessageDirect(KMessageDirect *partner=0, QObject *parent=0)
Creates an object and connects it to the object given in the first parameter.
Definition: kmessageio.cpp:176
KMessageProcess(QObject *parent, const QString &file)
Definition: kmessageio.cpp:233
void connectionBroken()
This signal is emitted when the connection is closed.
KMessageSocket(const QString &host, quint16 port, QObject *parent=0)
Connects to a server socket on /e host with /e port.
Definition: kmessageio.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.