"EnterEditfocus is not a member of QEvent ".
It should be EnterEditFocus, with a 'F'.

In such cases check the QEvent documentation.

s there any function other than eventFilter(), so that I can use here.
You can subclass QLineEdit and overload focusInEvent().
But then your QLineEdit will have to get a pointer to the VKB, or otherwise have access to it.

Don't expect to be fed everything with a spoon - read the docs!
Look for answers in the docs!