Presentation: KIO: A Story of Young and Old Jobs
How jobs get the job done
Learn more about the KJob design, the KIO jobs like KIO::copy, the 3 new jobs to replace KRun, and choosing the right delegate.
This talk will give an overview of the job mechanism as it used in KIO (starting with the base class KJob). First the "old" jobs will be presented, those that allow for instance to copy files, both locally and over the network.
You will learn why they start automatically, and why copyjob.cpp has 2320 lines of code.
Then you will discover the jobs that we added in the last two months, to replace KRun: CommandLauncherJob, ApplicationLauncherJob and OpenUrlJob. Finally, you will hear about how a concept called delegates is used to solve the inverse dependency problem, like a job in KIOGui showing up an "open with" dialog in widget-based applications.
This talk is primarily intended for application developers, but it might also be very useful to potential contributors to KIO.