diff options
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(); |