looqs/shared/searchresult.h
Albert S 451c79088a shared/gui: Don't consider non-content search results for previews
Not entirely ideal, since we may want to search for 'cake', and look at
a preview for 'cake.txt' even if there is no 'cake' inside.

But this will do for now
2022-06-13 22:46:14 +02:00

14 строки
211 B
C++

#ifndef SEARCHRESULT_H
#define SEARCHRESULT_H
#include "filedata.h"
class SearchResult
{
public:
FileData fileData;
QVector<unsigned int> pages;
bool wasContentSearch = false;
};
#endif // SEARCHRESULT_H