In my application, I have QTabWidget with 3 pages with controls designed in it, using Qt creator 2.4.1. now I want to separate the functionality of these pages from MainWindow by creating new classes.

My question is how to access the MainWindow::ui instance in my new class ? which is declared in private.

it is a qt-desktop application and platform is qt 4.8.1/win 7.