This forum has been archived. All content is frozen. Please use KDE Discuss instead.

$torrent class

Tags: None
(comma "," separated)
vortex-5
Registered Member
Posts
2
Karma
0

$torrent class

Thu Sep 04, 2008 8:13 pm
Can anyone tell me where ktorrent is getting the $torrent class / data type from?

I would like to see all the fields and methods in the $torrent class so I can add more fields to the web interfaces myself.

Thanks.
George
Moderator
Posts
5421
Karma
1

Fri Sep 05, 2008 6:00 pm
Look into plugins/webinterface/phpcodegenerator.cpp, $torrent is nothing more then a php array.

If you want to add properites, you need to do it in phpcodegenerator.cpp
vortex-5
Registered Member
Posts
2
Karma
0

Fri Sep 05, 2008 6:31 pm
thanks I'll give it a look.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]