matrixion/subprojects/SingleApplication-3.3.0/examples/sending_arguments/messagereceiver.cpp

13 lines
310 B
C++
Raw Normal View History

2021-12-05 06:17:08 +03:00
#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;
}