1 #ifndef SEARCHVIDEOSOURCE_H
2 #define SEARCHVIDEOSOURCE_H
5 #include <videosource.h>
9 class SearchVideoSource : public VideoSource {
13 SearchVideoSource(SearchParams *searchParams, QObject *parent = 0);
15 SearchParams *getSearchParams() const { return searchParams; }
17 void loadVideos(int max, int startIndex);
19 void abort() { aborted = true; }
21 const QList<QAction *> &getActions();
25 void connectSource(int max, int startIndex);
27 SearchParams *searchParams;
28 VideoSource *source = nullptr;
32 #endif // SEARCHVIDEOSOURCE_H