Re: Problems managing KIO::Jobs

2016-12-05 Thread A. Bikadorov
On 04.12.2016 10:58, David Faure wrote: > Indeed suspend() before starting wasn't implemented. It was only used > internally for the bitburger protocol in CopyJob. > > I have now at least implemented suspend()-before-start() in SimpleJob > and FileCopyJob, in > https://commits.kde.org/kio/91fd82c

Re: Problems managing KIO::Jobs

2016-12-04 Thread David Faure
On lundi 14 novembre 2016 15:23:01 CET A. Bikadorov wrote: > 1. Creating and immediately suspending a job does not work as expected. E.g. > after > > KIO::Job job = KIO::copy(urls, dest, flags); > > bool result = job->suspend(); // returns true > > bool result2 = job->isSuspended(); // returns true

Problems managing KIO::Jobs

2016-11-14 Thread A. Bikadorov
Hi, since there is no frameworks-users list and kde-devel seems less appropriate I'm asking here. I'm currently working on adding a job manager (similar to Plasma's notification widget) for KIO jobs to Krusader. While doing that I came across two issues which couldn't be solved yet. 1. Creat