From 1c318d543c7a49fa57ac2acb3de999b8718a7621 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 27 Jan 2018 18:10:04 +0100 Subject: 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..." :) --- filewidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filewidget.h') 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 -- cgit v1.2.3-70-g09d2