For example:

javascript Code:
  1. DirectConnections {
  2. source: sender.signal
  3. target: receiver.slot
  4. }
To copy to clipboard, switch view to plain text mode 

I'm not sure how to access the signal and the slot itself from the C++ side. If you can't find a way to do it, you can always use separate properties for the signal and slot signatures (as strings) that you will then use in the backend.