I'm having trouble creating action for the green OK key - when a QLineEdit instance is in focus.
I realized that returnPressed() signal isn't emitted when the user presses that key. So I subclassed QLineEdit and reimplemented keyPressEvent(), only to realize that no key press event is fired when OK key is pressed.
However, I know Symbian makes it possible to handle that key. For example, Opera Mobile opens the entered URL when you tap OK key when you are in the address bar.