#ifndef MESSAGERECEIVER_H #define MESSAGERECEIVER_H #include class MessageReceiver : public QObject { Q_OBJECT public: explicit MessageReceiver(QObject* parent = 0); public slots: void receivedMessage(int instanceId, QByteArray message); }; #endif // MESSAGERECEIVER_H