Signals after send a message

59 views
Skip to first unread message

mario7...@googlemail.com

unread,
Mar 10, 2019, 12:21:45 PM3/10/19
to qjsonrpc-development
Hi,

how can I get a signal after the answer to a send message? I have the following code:

QJsonRpcServiceReply *reply = rpc_client->sendMessage(msg);
connect(reply, SIGNAL(messageReceived(QJsonRpcMessage)), this, SLOT(msgRecieved(QJsonRpcMessage)));

But my SLOT function won't be called.

Thank you for your help

br
martin

Reply all
Reply to author
Forward
0 new messages