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
28 Q_SCRIPTABLE void quit() const;
29 Q_SCRIPTABLE void updateConfig();
30
31private:
32 Database* m_db;
33 FileIndexerConfig* m_config;
34
35 FileWatch m_fileWatcher;
36 FileIndexScheduler m_fileIndexScheduler;
37
38};
39}
40
41#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 Tue Mar 26 2024 11:20:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.