What you can do is get QLibrary and load the kdeui or kdekio library of it and do it that way.