Bug 154483

Summary: Add more dbus abilities
Product: [Applications] ktorrent Reporter: Olav Vitters <bugzilla-kde>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Olav Vitters 2007-12-22 18:00:39 UTC
Version:           3.0 beta1 (using KDE Devel)
Installed from:    Compiled sources

The previous ktorrent version had a lot of things you could control via dcop. The dbus interface seems a bit minimal in comparison.

I'd like the dbus version to contain the following:
 - status of the torrent (seeding, etc.)
 - tracker status (kde3 version didn't have this)
 - the download folder of a torrent (e.g. either the default d/l dir, or the per torrent d/l dir.. in case it was moved)
 - Downloaded/Uploaded/Size/Time Downloaded/Time Uploaded as values (meaning: size in bytes instead of things like: xxx MB)

Perhaps (this was useful to get the real times + sizes):
 - some way to determine the configurable ~/.kde4/share/apps/ktorrent/ dir
 - the torrent id of a torrent (for the dir above)
Comment 1 Joris Guisson 2007-12-24 11:13:57 UTC
I will be expanded when I start working on the plasma applet I have planned.
Comment 2 Joris Guisson 2008-06-27 19:30:32 UTC
SVN commit 825257 by guisson:

Expand dbus interface significantly (this isn't finished yet, more will follow)

BUG: 154483


 M  +5 -1      CMakeLists.txt  
 A             dbus (directory)  
 D             dbus.cpp  
 D             dbus.h  
 A             dbus/dbus.cpp   dbus.cpp#824315 [License: GPL (v2+)]
 A             dbus/dbus.h   dbus.h#824315 [License: GPL (v2+)]
 A             dbus/dbusgroup.cpp   [License: GPL (v2+)]
 A             dbus/dbusgroup.h   [License: GPL (v2+)]
 A             dbus/dbustorrent.cpp   [License: GPL (v2+)]
 A             dbus/dbustorrent.h   [License: GPL (v2+)]
 A             dbus/dbustorrentfile.cpp   [License: GPL (v2+)]
 A             dbus/dbustorrentfile.h   [License: GPL (v2+)]
 M  +92 -83    groupview.cpp  
 M  +2 -2      groupview.h  
 M  +1 -1      gui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=825257