Baloo

migrator.h
1 /*
2  SPDX-FileCopyrightText: 2015 Vishesh Handa <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #ifndef BALOO_MIGRATOR_H
8 #define BALOO_MIGRATOR_H
9 
10 #include <QString>
11 
12 namespace Baloo {
13 
14 class FileIndexerConfig;
15 
16 class Migrator
17 {
18 public:
19  Migrator(const QString& dbPath, FileIndexerConfig* config);
20 
21  bool migrationRequired() const;
22  void migrate();
23 
24 private:
25  QString m_dbPath;
26  FileIndexerConfig* m_config;
27 };
28 }
29 
30 #endif // BALOO_MIGRATOR_H
Implements storage for docIds without any associated data Instantiated for:
Definition: coding.cpp:11
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.