In my QTextEdit editor application I have defined a 'cut' action with a ctrl+x shortcut.
The problem is that although the shortcut works, it seems to be bypassing the slot defined in my application.
When I select the action from the menu or the toolbar button, the debugger will break in the slot function it is connected to. When I press ctrl+x, text is cut from the editor to the clip board, but the debugger does not break.
If I redefine the shortcut to , say, ctrl+b, the debugger will break, so I assume the code is correct.
It seems that ctrl+x is a special case which bypasses the action but operates directly on the QTextedit object.
How can I force ctrl+x to trigger the cut action?