add const before memberfun classptr
also allow to connect to pointer to signal