Say I have the function...
const QMainWindow* MainWindow::getThis(){
return this;
}
would it be possible to call this function for the third argument of my SIGNAL/SLOT connection...
QAction* myAction = new QAction("my action!");
connect(myAction, &QAction::triggered, getThis(), &MainWindow::someAction);
(qt creator doesnt like this)