Baloo

baloosearchmodule.h
1 /*
2  This file is part of the KDE Baloo Project
3  SPDX-FileCopyrightText: 2014 Vishesh Handa <[email protected]>
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 
15 namespace Baloo {
16 
17 class SearchModule : public KDEDModule
18 {
19  Q_OBJECT
20 
21 public:
22  SearchModule(QObject* parent, const QList<QVariant>&);
23 
24 private 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);
31 private:
32  QList<QUrl> m_searchUrls;
33  org::kde::KDirNotify* m_dirNotify;
34 };
35 
36 }
37 
38 #endif
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
Implements storage for docIds without any associated data Instantiated for:
Definition: coding.cpp:11
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 03:56:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.