You dont need to use the API at all, just run your jobs in threads in the background and when they are completed, emit a Qt signal connected to your plugin to handle the results. If you do want to use the calibre jobs system, then there is no API documentation as such, best way to learn it is look at another user interface action plugin that uses jobs. I think count pages or quality check would do.
|