Baloo

mainhub.h
1/*
2 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef BALOO_MAINHUB_H
8#define BALOO_MAINHUB_H
9
10#include <QObject>
11
12#include "filewatch.h"
13#include "fileindexscheduler.h"
14
15namespace Baloo {
16
17class Database;
18class FileIndexerConfig;
19
20class MainHub : public QObject
21{
23 Q_CLASSINFO("D-Bus Interface", "org.kde.baloo.main")
24public:
25 MainHub(Database* db, FileIndexerConfig* config, bool firstRun);
26
27public Q_SLOTS:
28 Q_SCRIPTABLE void quit() const;
29 Q_SCRIPTABLE void updateConfig();
30
31private:
32 FileIndexerConfig* m_config;
33
34 FileWatch m_fileWatcher;
35 FileIndexScheduler m_fileIndexScheduler;
36
37};
38}
39
40#endif // BALOO_MAINHUB_H
Implements storage for docIds without any associated data Instantiated for:
Definition coding.cpp:11
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.