summaryrefslogtreecommitdiffstats
path: root/torrentwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-09-04 03:32:56 +0200
committerArno <arno@disconnect.de>2016-09-04 03:32:56 +0200
commit8945f641f468e373b4d8d907bcc2f5be2922962e (patch)
tree93b388c81a31abbc9573603e43017098a78853ba /torrentwidget.h
parente11e257f88726fd04774bf0ca4584d1678bc7f9b (diff)
downloadShemovCleaner-8945f641f468e373b4d8d907bcc2f5be2922962e.tar.gz
ShemovCleaner-8945f641f468e373b4d8d907bcc2f5be2922962e.tar.bz2
ShemovCleaner-8945f641f468e373b4d8d907bcc2f5be2922962e.zip
Display duration and num. of selected Files
When selecting files in FileWidget, calculate the total duration and display it in the status bar. Also count the selected Files and show them. Update status bar on changing tabs.
Diffstat (limited to 'torrentwidget.h')
-rw-r--r--torrentwidget.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/torrentwidget.h b/torrentwidget.h
index 5b1852c..10a67d8 100644
--- a/torrentwidget.h
+++ b/torrentwidget.h
@@ -37,13 +37,11 @@ class TorrentWidget : public QWidget {
void moveFiles();
void torrentInfo();
void searchFile();
+ void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
protected:
virtual void contextMenuEvent(QContextMenuEvent *e);
- private slots:
- void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
-
private:
void setupGui();
void readHeaderData();