Was the prince of Wales ship named after prince of Wales?

Probably.

It is named after the Prince of Wales during the reign of King George V. A sister ship was named King George V. The Prince of Wales would become Edward VIII.