Correct support for multiply clients
[qtrapids] / src / client / DownloadView.h
index abc7ea6..5ddffe4 100644 (file)
@@ -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.