I'd want to write something like this

connect (a,signal(a),this, convert_to_slot(my_function))

Fiction science ?
Thanks