Summary: | KGet should show progress in its title | ||
---|---|---|---|
Product: | [Applications] kget | Reporter: | Raphael Kubo da Costa <rakuco> |
Component: | general | Assignee: | KGet authors <kget> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | updates the mainwindow caption with the active transfers percents |
Description
Raphael Kubo da Costa
2008-06-24 08:06:36 UTC
Attach a patch that updates the mainwindow caption with the percent of the active transfers. The mainwindow gets the percent from the core each 5 seconds with QTimer, maybe this is wrong ... maybe we can use the TransferGroupObserver and update the caption with the groupChangedEvent, but this can be launching events every few seconds. Created attachment 26318 [details]
updates the mainwindow caption with the active transfers percents
Mmh, looks good to me, but probably move KGet::transfersPercent() to MainWindow, not sure... Anyway: yes, imo we should use a TransferGroupObserver, but only update the title, when the Percent-Flag is used... Lukas SVN commit 836657 by jgoday: Add a modelobserver and a transfergroupobserver to mainwindow to update the percent in the window title BUG:164812 M +82 -0 mainwindow.cpp M +42 -0 mainwindow.h WebSVN link: http://websvn.kde.org/?view=rev&revision=836657 |