I taking about QT , i am doing project in Qt
I created MainWindow.h and i called MainWindow.cpp ---Form 1(ui)
i need the same function in -- (feet.cpp Form-2 (ui) ) , In same project --it is possible ? , kindly guide me.
thanks
Do you know that sub class refers to inheritance?
I doubt that you have a sub class of MainWindow...
Additionally, your question is a pure C++ one, not a Qt one. Please go to the appropriate forum or research some basics of c++.