Hello,

I would like to call a member function of my mainFrame class from my other Plot class. To do so, I need a pointer to mainFrame class within Plot class. Is there some call like : getParent() or something like this?

In constructor of my Plot class, I already pass the pointer of mainFrame class, so how can I get it then?
Qt Code:
  1. Plot::Plot(QWidget *parent):
  2. QwtPlot(parent)
  3. {
To copy to clipboard, switch view to plain text mode 

Thank you for help.

Vitali