[Qt-interest] help needed on shortcut keys implementation

Ravi_Kalepalli Ravi_Kalepalli at Satyam.com
Mon Jan 19 05:41:32 CET 2009


Hi All,

I am trying to implement the shortcut keys with QAction class for my application (on S60).
But I can't able to do it....can any one please helps me.....

Here is my code
            openAct = new QAction(tr("Open"), this);
            openAct->setShortcut(tr("4"));
connect(openAct, SIGNAL(triggered()), this, SLOT(open()));

Should I do any other changes?
Can any one please help me.....?


Thanks and Regards

Ravi Kalepalli
Telephone: 080-66577808
Mobile: 9880724688
[cid:image001.gif at 01C97A1E.1E14B190]


________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090119/ce0e0e34/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8498 bytes
Desc: image001.gif
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090119/ce0e0e34/attachment.gif 


More information about the Qt-interest-old mailing list