Quote Originally Posted by Lykurg View Post
Yes, read the docs to QObject::sender()

Better would be using a QSignalMapper, but if you want use the sender() see what is the output of
Qt Code:
  1. void MainWindow::openClassInClientArea()
  2. {
  3. qWarning() << QObject::sender();
  4. }
To copy to clipboard, switch view to plain text mode 
when you click the different buttons.
Hi
m_classroomActionList->sender()->objectName(); is giving error.
error: `QObject* QObject::sender() const' is protected.