X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fclient%2FDownloadView.h;h=5ddffe445656bfc33286035ffff7fe74c61586a6;hb=fdb78d7880be7bc82544e66efd5acb3da74a617a;hp=abc7ea68f23374cadfab6dbdeb59cd07dd98e532;hpb=f291a99270f6f9ac0f2bd89880a9c27a267a8716;p=qtrapids diff --git a/src/client/DownloadView.h b/src/client/DownloadView.h index abc7ea6..5ddffe4 100644 --- a/src/client/DownloadView.h +++ b/src/client/DownloadView.h @@ -49,7 +49,7 @@ namespace qtrapids ~DownloadView(); void updateItem(TorrentState const& info, ParamsMap_t other_info); - QString removeSelected(); + QString prepareRemoveSelected(); private slots: void on_itemClicked(QTreeWidgetItem * item, int column); @@ -58,6 +58,7 @@ namespace qtrapids void addItem_(TorrentState const& info, ParamsMap_t other_info); void updateItem_(DownloadViewItem *item , TorrentState const& info, ParamsMap_t other_info); + void removeItem_(DownloadViewItem *item, TorrentState const& info); // Maps torrent to downloadview item. // Key: SHA1 info hash of torrent. Data: View item corresponding to torrent.