diff options
author | Arno <arno@disconnect.de> | 2016-11-27 04:43:53 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-11-27 04:43:53 +0100 |
commit | c034fce78687a7d65c61aa0348d09b4afea3648c (patch) | |
tree | 12053e7fb5e7e1cbae972ae3066f8b69d93d0c7b /torrentwidget.h | |
parent | 5cde173217fd8cb1dbc21f3ac54f18e8234e709b (diff) | |
download | ShemovCleaner-c034fce78687a7d65c61aa0348d09b4afea3648c.tar.gz ShemovCleaner-c034fce78687a7d65c61aa0348d09b4afea3648c.tar.bz2 ShemovCleaner-c034fce78687a7d65c61aa0348d09b4afea3648c.zip |
Add free space widget to status bar
Red is used, green is free, obviously...
Diffstat (limited to 'torrentwidget.h')
-rw-r--r-- | torrentwidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/torrentwidget.h b/torrentwidget.h index 2288e60..65c1161 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -5,9 +5,9 @@ #include <QItemSelection> #include <QString> #include <QContextMenuEvent> +#include <QLineEdit> class QPushButton; -class QLineEdit; class QTreeView; class QStandardItemModel; class QLabel; @@ -30,11 +30,13 @@ class TorrentWidget : public QWidget { TorrentDisplay *torrentDisplay() { return mTorrentDisplay; } QTreeView *torrentFileView() { return mFileView; } void setProgressBar(QProgressBar *progressBar) { mProgressBar = progressBar; } + const QString currentDir() const { return mDir->text(); } ~TorrentWidget(); signals: void statusMessage(const QString &msg); void selectionCountChanged(const QString &msg); + void freeSpaceChanged(const QString &dir); public slots: void selectDir(); |