Connecting devices between the head or foot of a prop and the cap or base of the roof support