Was Toowoomba ever the capital of Queensland?

No - Toowoomba has never been the capital of Queensland; nor was it ever a contender.