Hi,
I've added 4 QActions into the QMenu and the QMenu is mapped to the LSK(Options button)on Phone.
code snippet:
QMenu* optionsMenu = new QMenu(LSK);
QAction *GTNP =optionsMenu->addAction("Go To Now playing");
optionsMenu->setActiveAction(GTNP);
connect(GTNP,SIGNAL(triggered()),this,SLOT(ActivateWindow()));
QAction *iAdd = optionsMenu->addAction("Add to PlayList");
connect(iAdd,SIGNAL(triggered()),this,SLOT(CreateSubMenu()));
QAction *Del = optionsMenu->addAction("Delete");
connect(Del,SIGNAL(triggered()),this,SLOT(DeleteArtist()));
QAction *iExit = optionsMenu->addAction("Back");
connect(iExit,SIGNAL(triggered()),this,SLOT(HandleBackEvent()));
LSK->setMenu(optionsMenu);
The Signal triggered from the 1st three QActions are not calling the corresponding slot function but its working fine for the last QAction.
Any idea, why is this happening?
Is there any limitation in using the QMenu?
Thanks in Advance..
Sachin




