aboutsummaryrefslogtreecommitdiff
path: root/examples/sending_arguments/messagereceiver.cpp
blob: 0560b0726b536b179c83386c29b80864f58a29ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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;
}