messagereceiver.h 294 B

123456789101112131415
  1. #ifndef MESSAGERECEIVER_H
  2. #define MESSAGERECEIVER_H
  3. #include <QObject>
  4. class MessageReceiver : public QObject
  5. {
  6. Q_OBJECT
  7. public:
  8. explicit MessageReceiver(QObject* parent = 0);
  9. public slots:
  10. void receivedMessage(int instanceId, QByteArray message);
  11. };
  12. #endif // MESSAGERECEIVER_H