matrixion/third_party/SingleApplication-3.3.2/examples/sending_arguments/messagereceiver.cpp
2021-12-15 15:20:04 +01:00

12 lines
310 B
C++

#include <QDebug>
#include "messagereceiver.h"
MessageReceiver::MessageReceiver(QObject *parent) : QObject(parent)
{
}
void MessageReceiver::receivedMessage(int instanceId, QByteArray message)
{
qDebug() << "Received message from instance: " << instanceId;
qDebug() << "Message Text: " << message;
}