In my project, there are two classes named DataParse, Communication. I want to use the tools available in MainWindow within these classes. I inherit my classes as follows.