How about deriving your dialogs from a custom Dialog class that will be aware of that shortcut? This way the help-handling code would be only in one place.
Other thing you can try are aspects. You could inject that shortcut object into every class you derive from QDialog and still keep the code outside your main sources.
Bookmarks