Hi,

How do I pass the signals reference to the slot function? Take this snippet as an example:

Qt Code:
  1. connect(button, SIGNAL( mySignal(QString) ), this, SLOT( mySlot(QString) ));
  2.  
  3. void MainWindow::mySlot(const QString &title)
  4. {
  5. // how can I get the button reference in here?
  6. }
To copy to clipboard, switch view to plain text mode 

I tried to pass "this" in mySignal but it doesn't seem to work...