Ramsey was dismissed as the Rs boss two weeks ago, with the side languishing in mid-table in the Championship.
However, despite their poor start, Onuoha insists that the QPR players were not expecting Ramsey to be sacked.
“As a collective I don’t think [the players saw Ramsey’s sacking coming],” he told Get West London.
“Some may have thought that way as Neil Warnock was a manager at the football club and when he comes in you don’t think he’s just going to be a coach.”
At the moment Neil Warnock is in temporary charge of QPR, while they look to find a new manager who can take them up the table.
QPR are still some way off the play-offs, and they lost their latest match 1-0 against Middlesbrough away from home at the Riverside Stadium.
It leaves whoever takes charge at Loftus Road with a very difficult job, as the Hoops have made no secret of their desire to be promoted.