Changeset View
Changeset View
Standalone View
Standalone View
src/contentlist/FilesystemContentLister.h
Show All 26 Lines | |||||
27 | #include "ContentListerBase.h" | 27 | #include "ContentListerBase.h" | ||
28 | 28 | | |||
29 | class FilesystemContentLister : public ContentListerBase | 29 | class FilesystemContentLister : public ContentListerBase | ||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | public: | 32 | public: | ||
33 | explicit FilesystemContentLister(QObject* parent = nullptr); | 33 | explicit FilesystemContentLister(QObject* parent = nullptr); | ||
34 | ~FilesystemContentLister() override; | 34 | ~FilesystemContentLister() override; | ||
35 | 35 | /** | |||
36 | * \brief Start a search. | ||||
37 | * @param queries List of ContentQueries that the search should be limited to. | ||||
38 | */ | ||||
36 | void startSearch(const QList<ContentQuery*>& queries) override; | 39 | void startSearch(const QList<ContentQuery*>& queries) override; | ||
37 | 40 | | |||
38 | private: | 41 | private: | ||
39 | void queryFinished(QRunnable* runnable); | 42 | void queryFinished(QRunnable* runnable); | ||
40 | 43 | | |||
41 | class Private; | 44 | class Private; | ||
42 | Private* d; | 45 | Private* d; | ||
43 | }; | 46 | }; | ||
44 | 47 | | |||
45 | #endif//FILESYSTEMCONTENTLISTER_H | 48 | #endif//FILESYSTEMCONTENTLISTER_H |