Quote Originally Posted by MrDeath View Post
you dont have to cast it... widget->show() will do
No a Widget instance do not know the show method. The compiler refuses it