Hi All,

I have an application which was developed under Qt3.3 version. I need to add few more additions to it and need to use Qt4.2version. So in Qt3.3 app it has postevent for an application saying "QApplication:ostEvent(qApp->mainWidget(), new function()"

So it doesn't compile in Qt4.2 as there is no mainWindget as a member. What is the equivalent for mainWidget in Qt-4.2