I want to call one of my mainwindow function on close event of child window ,how to connect this signal..


Previously I tried
Qt Code:
  1. connect(this,SIGNAL(destroyed()),this->parent(),SLOT(f_max()));
To copy to clipboard, switch view to plain text mode 

but as I m closing a child window using
Qt Code:
  1. this->close()
To copy to clipboard, switch view to plain text mode 

so "destroyed event "is not getting triggered ...