I didn't click on your other thread...HA!
Do you mean the king and the rook?
That's called castling.
/ https://www.chess.com/learn-how-to-play-chess
If he really meant the queen and the rook, I guess that would be quastling.