T flip flops and D flip flops are just JK flip flops with inputs connected slightly differently.
I have attached schematics of each type of flip flops. Whether you can convert them depends on how close you can get to the inputs of the JK, I think this would be impossible if the flip flop you're using is on a chip, as they usually only allow one input - either D or T.