summaryrefslogtreecommitdiffstats
path: root/shemovcleaner.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-08-20 10:13:44 +0200
committerArno <arno@disconnect.de>2016-08-20 10:13:44 +0200
commitddd1616f5c310c94214e0ba2629f174c4cf768f3 (patch)
tree3e8eb94565dead6859a9b3fbd37ce24ec1d39c53 /shemovcleaner.h
parentd47427a2d51fcc7f8e1f8926a706e04ff01603ed (diff)
downloadShemovCleaner-ddd1616f5c310c94214e0ba2629f174c4cf768f3.tar.gz
ShemovCleaner-ddd1616f5c310c94214e0ba2629f174c4cf768f3.tar.bz2
ShemovCleaner-ddd1616f5c310c94214e0ba2629f174c4cf768f3.zip
Implement file search
Search for a regular expression in all files of all torrents and select them.
Diffstat (limited to 'shemovcleaner.h')
-rw-r--r--shemovcleaner.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/shemovcleaner.h b/shemovcleaner.h
index fe02fc6..80ccddb 100644
--- a/shemovcleaner.h
+++ b/shemovcleaner.h
@@ -3,6 +3,7 @@
#include <QMainWindow>
#include <QItemSelection>
+#include <QString>
class QPushButton;
class QLineEdit;
@@ -25,6 +26,7 @@ class ShemovCleaner : public QMainWindow {
void deleteFiles();
void moveFiles();
void torrentInfo();
+ void searchFile();
private:
void setupGui();
@@ -34,12 +36,13 @@ class ShemovCleaner : public QMainWindow {
void readSettings();
void writeSettings();
QLineEdit *mDir;
- QLineEdit *mExt;
QPushButton *mSelDir;
- QPushButton *mSelExt;
+ QLineEdit *mSearchTorrents;
+ QPushButton *mDoSearchTorrents;
QPushButton *mMove;
QPushButton *mDelete;
QPushButton *mInfo;
+ QString mExt;
QLabel *mSelected;
QStandardItemModel *mModel;
FileSorter *mProxy;