Some porting from KIO::Jobs to KJobs
Ricard Marxer Piñón
rmarxer at iua.upf.edu
Wed Jan 17 20:03:22 GMT 2007
Rafael Fernández López wrote:
> 2007/1/17, Ricard Marxer Piñón <rmarxer at iua.upf.edu>:
>> What I meant with progressDescription is the same as your info slot. So
>> the kuiserver would only show the string without doing nothing with it.
>> It's the application that would do something like this pseudo code:
>> myJob->progressInfo(i18n("%1 of %2 contacts added", howManyDone,
>> Would this make sense?
> Yes, it makes sense to me. Is a good idea. I will implement it.
About the naming, maybe is better to follow the Qt api a little bit:
myJob->setProgressInfo(i18n("%1 of %2 contacts added", howManyDone,
and maybe add one more:
And about who should calculate the secondsRemaining, I think it can be
calculated by default automatically by KJob unless the application sets
What do you think?
> Bye and thanks,
> Rafael Fernández López.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the kde-core-devel