Syntax for a kdialog

I have this convert selected files to pdf servicemenu. Moving those converted files to a fixed directory is no prob with a command but I’d like to use a kdialog --getexisting directory for it. But I can’t find a way to implement it.
kdemv5 ${filename%.*}.pdf ( and here should be the kdialog instead of a fixed directory).