[PyQt] Add a download to KGet

Dog Walker thudfoo at gmail.com
Thu Aug 14 20:37:16 BST 2008


On Thu, Aug 14, 2008 at 6:47 AM, Jan Holthuis <jan at holmek.de> wrote:
> Well, I really need to know if there's a way to do this. Maybe via DBUS or
> something like that...
> Can someone please help me?
>
> Thanks in advance,
> Jan Holthuis
>
> Am Sonntag 10 August 2008 15:10:17 schrieb Jan Holthuis:
>> Hi!
>> I was just wondering if there's a method to add a download to KGet. Maybe
>> something like this:
>> http://api.kde.org/4.x-api/kdenetwork-
>> apidocs/kget/html/classKGet.html#2cb901470443e9fdd5c4b703b6f97434
>>
>> Unfortunately, it seems that kdenetwork doesn't exist in PyKDE. Is (or
>> will) there (be) another way to do this?
>>
>> All the best,
>> Jan Holthuis
>

I would like at dcop. kget has a addTransfers method which you may be
able to use via the dcopext module. Run kdcop to find the names
required. (kdcop wouldn't execute the addTransfers method when I tried
it because it didn't know what the KURL::list type was, but dcopext
does know.)

I have seen the future and I'm not in it!


More information about the PyQt mailing list