1/*
2 This file is part of the KDE Baloo Project
3 SPDX-FileCopyrightText: 2014 Vishesh Handa <me@vhanda.in>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef KDED_BALOO_SEARCH_MODULE_H_
9#define KDED_BALOO_SEARCH_MODULE_H_
10
11#include <KDEDModule>
12#include <KDirNotify>
13#include <QUrl>
14
15namespace Baloo {
16
17class SearchModule : public KDEDModule
18{
19 Q_OBJECT
20
21public:
22 SearchModule(QObject* parent, const QList<QVariant>&);
23
24private Q_SLOTS:
25 void init();
26 void registerSearchUrl(const QString& url);
27 void unregisterSearchUrl(const QString& url);
28
29 void slotBalooFileDbChanged();
30 void slotFileMetaDataChanged(const QStringList& list);
31private:
32 QList<QUrl> m_searchUrls;
33 org::kde::KDirNotify* m_dirNotify;
34};
35
36}
37
38#endif
39

source code of baloo/src/kioworkers/kded/baloosearchmodule.h