[Kget] Question in the multithread download plugin

Dario Massarin nekkar at libero.it
Tue Nov 22 21:22:34 CET 2005


> looking in the transferkio implementation. there is a funtion:
> 
> void TransferKio::load(QDomElement e)
> {
>     Transfer::load(e);
> }
> 
> I guess is to load the status of the transfer. OK?
> well if that's the case My question is when this funtion is called?
> after or before TransferKio::start()

Before.

The Transfer::load function is called (for every transfer saved
in the transfer.kgt file) at kget startup. So you really need to reimplement
the load() and save() functions. 
Take a look to these functions in the bittorrent transfer, where additional
informations get saved.

Best regards,
    Dario




More information about the Kget mailing list