mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 20:25:43 +08:00
13 lines
310 B
C++
13 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;
|
||
|
}
|