diff options
author | Arno <arno@disconnect.de> | 2018-01-27 18:10:04 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-01-27 18:10:04 +0100 |
commit | 1c318d543c7a49fa57ac2acb3de999b8718a7621 (patch) | |
tree | 5b36ea8f4e3898fcde7ba7c3967692ff76cf716d /filewidget.h | |
parent | e8e06044c3fcc1cd36deb52a42538ebec3a1e602 (diff) | |
download | ShemovCleaner-1c318d543c7a49fa57ac2acb3de999b8718a7621.tar.gz ShemovCleaner-1c318d543c7a49fa57ac2acb3de999b8718a7621.tar.bz2 ShemovCleaner-1c318d543c7a49fa57ac2acb3de999b8718a7621.zip |
New feature: Guess subject
If a descript.ion file exists in the current directory of fileWidget,
read the subjects into a QStringList to determine the usenet subject
from within ShemovCleaner.
No more tedious task switching to the usenet client, just trigger "Guess
subject..." :)
Diffstat (limited to 'filewidget.h')
-rw-r--r-- | filewidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filewidget.h b/filewidget.h index eed1692..3c75c6f 100644 --- a/filewidget.h +++ b/filewidget.h @@ -58,6 +58,8 @@ class FileWidget : public QWidget { void cdLast(); void deleteFiles(); void gatherData(); + void readDescriptION(); + void guessSubject(); void selectDir(); void properties(); void properties(const QModelIndex &idx); @@ -123,6 +125,7 @@ class FileWidget : public QWidget { QAction *mAddAsOriginA; QAction *mRemoveFromCacheA; QAction *mClearCacheA; + QAction *mGuessSubjectA; ProgressDialog *mCopyProgress; FileDisplay *mFileDisplay; VideoSorter *mProxy; @@ -132,6 +135,7 @@ class FileWidget : public QWidget { QComboBox *mFavDirs; QComboBox *mMimeFilters; int mFileAction; + QStringList mDescript; }; #endif // FILEWIDGET_H |