hi, i have one problem linking the action with the SLOT. the SLOT procedure wrks perfectly, but i dont get the action executed.
i dont know if i need to declare the prcedure to execure as a public SLOT in the owner class, but i dont think so, cause with other action it is as a SLOT and still not working.

i have all the actions not working, and i show here one example of the actions


Qt Code:
  1. //here is my action code
  2. removeAct = new QAction(QIcon("./images/del.png"), tr("Eliminar mensajes"),this);
  3. removeAct->setStatusTip(tr("Borra los emementos seleccionados"));
  4. connect(removeAct, SIGNAL(triggered()),this, SLOT(m_cListaMensajes.eliminarVariosMensajes()));
  5.  
  6. // and here is my context menu code
  7. menu = new QMenu(this);
  8. menuPU = new QMenu();
  9. menu->addAction(enableMsgAct);
  10. menu->addMenu(menuPU);
  11. menu->addSeparator();
  12. menu->addAction(removeAct); // here i add the action
  13.  
  14. menuPU->setTitle(tr("Elegir pantalla"));
  15. menuPU->addAction(enablePU1Act);
  16. menuPU->addAction(enablePU2Act);
  17. menuPU->addAction(enablePU3Act);
  18. menuPU->addAction(enablePU4Act);
  19. menuPU->addAction(enablePU5Act);
To copy to clipboard, switch view to plain text mode 

m_cListaMensajes.eliminarVariosMensajes() works prefectly cause i'm using it in other parts of the program,
so i dont know if i'm not controlling anything, or where is the problem
thanks