Run folder search filtering in the background

It uses the same approach used by the comics search filter
This commit is contained in:
Luis Ángel San Martín
2021-01-14 11:37:17 +01:00
parent 047fd24609
commit 5343d24f26
7 changed files with 238 additions and 309 deletions

View File

@ -11,6 +11,7 @@
#include "yacreader_navigation_controller.h"
#include "comic_query_result_procesor.h"
#include "folder_query_result_processor.h"
#include <future>
@ -329,6 +330,7 @@ public slots:
void toFullScreen();
void setSearchFilter(const YACReader::SearchModifiers modifier, QString filter);
void setComicSearchFilterData(QList<ComicItem *> *, const QString &);
void setFolderSearchFilterData(QMap<unsigned long long int, FolderItem *> *filteredItems, FolderItem *root);
void clearSearchFilter();
void showProperties();
void exportLibrary(QString destPath);
@ -402,6 +404,7 @@ private:
TrayIconController *trayIconController;
ComicQueryResultProcesor comicQueryResultProcesor;
FolderQueryResultProcessor *folderQueryResultProcessor;
};
#endif