title: Qt send signal to main application window
body: <p>I need a QDialog to send a signal to redraw the main window.<br>
  But connect needs an object to connect to.<br>
  So I must create each dialog with new and explicitly put a connect() every time.</p>
  
  <p>What I really need is a way of just sending MainWindow::Redraw() from inside any function and having a single connect() inside Mainwindow to receive them.</p>
  
  <p>But you can't make a signal static and dialogs obviously don't inherit from MainWindow.</p>
  
  <p>edit:<br>
  Thanks - I don't want to bypass signal/slots. I want to bypass having a main app pointer singleton, like afxGetApp(). But I don't understand how to just send out a signal and have it funnel up (or down?) to mainwindow where I catch it.  I was picturing signals/slots as like exceptions</p>