Since your question has already been answered, here's a bonus:
Add a Desktop Entry in ~/.local/share/kio/servicemenus/ to get right-click menu actions.
e.g. to add to Dolphin (and Konqueror) right-click menu
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=<MIME type of whichever type of file the application will work with>;
Actions=NameOfAction
Icon=icon-name-from-theme-for-desktop-entry
[Desktop Action NameOfAction]
Icon=icon-name-of-action-from-theme
Name=Name of action that the user will see
Exec=application-as-you-would-call-in-cli "%f"
