2020-12-30 14:42:04 +08:00
|
|
|
#ifndef LIBSEARCH_H
|
|
|
|
#define LIBSEARCH_H
|
|
|
|
|
|
|
|
#include "libsearch_global.h"
|
|
|
|
#include "index/file-searcher.h"
|
|
|
|
#include "appsearch/app-match.h"
|
|
|
|
#include "settingsearch/setting-match.h"
|
|
|
|
#include "index/inotify.h"
|
|
|
|
#include "file-utils.h"
|
2021-01-06 09:59:08 +08:00
|
|
|
#include "global-settings.h"
|
2021-01-09 11:25:07 +08:00
|
|
|
#include "index/first-index.h"
|
2020-12-31 21:14:13 +08:00
|
|
|
|
|
|
|
#include "index/filetypefilter.h"
|
|
|
|
|
2021-01-06 14:14:38 +08:00
|
|
|
#include "index/ukui-search-qdbus.h"
|
|
|
|
|
2020-12-31 21:14:13 +08:00
|
|
|
class LIBSEARCH_EXPORT GlobalSearch
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
static QStringList fileSearch(QString keyword, int begin = 0, int num = -1);
|
|
|
|
|
|
|
|
private:
|
|
|
|
GlobalSearch();
|
|
|
|
};
|
|
|
|
|
2020-12-30 14:42:04 +08:00
|
|
|
#endif // LIBSEARCH_H
|