aboutsummaryrefslogtreecommitdiff
path: root/examples/sending_arguments/messagereceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sending_arguments/messagereceiver.h')
-rw-r--r--examples/sending_arguments/messagereceiver.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/sending_arguments/messagereceiver.h b/examples/sending_arguments/messagereceiver.h
new file mode 100644
index 0000000..50a970c
--- /dev/null
+++ b/examples/sending_arguments/messagereceiver.h
@@ -0,0 +1,15 @@
+#ifndef MESSAGERECEIVER_H
+#define MESSAGERECEIVER_H
+
+#include <QObject>
+
+class MessageReceiver : public QObject
+{
+ Q_OBJECT
+public:
+ explicit MessageReceiver(QObject *parent = 0);
+public slots:
+ void receivedMessage( int instanceId, QByteArray message );
+};
+
+#endif // MESSAGERECEIVER_H