For me your constructor seems to be wrong, if your base class is QWidget then I think your constructor should be something like this

Qt Code:
  1. CMainPage::CMainPage( QWidget *pParent, const char *member, const QString &nMemStatus , const QString &nBattaryStatus , const QString &strTitle)
  2. :QWIdget(pParent, member)
  3. {
  4. //your code
  5. }
To copy to clipboard, switch view to plain text mode 
Try this and then let us know the status....

Thanks