Hi Folks,
I am having a problem getting messages between my classes. My basic program structure is like this: Main creates a MyApp::QApplication, MyApp creates a MyWindow::QMainWindow. In MyApp I have an About().
My Problem is I don't know how to connect the QAction created for the menu entry in MyWindow to the MyApp::About()? I have been trying to do something like this:
connect(AboutAction,SIGNAL(triggered()),MyApp,SLOT (about()));
But that obvisouly won't work as MyWindow doesn't know about MyApp
Can anyone help me please?
Thanks
McCall
Bookmarks