1 | /* |
2 | This file is part of the KDE Baloo Project |
3 | SPDX-FileCopyrightText: 2014 Vishesh Handa <vhanda@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.1-or-later |
6 | */ |
7 | |
8 | #ifndef BALOO_TAGLISTJOB_H |
9 | #define BALOO_TAGLISTJOB_H |
10 | |
11 | #include <KJob> |
12 | #include "core_export.h" |
13 | |
14 | #include <memory> |
15 | |
16 | namespace Baloo { |
17 | |
18 | /** |
19 | * @class TagListJob taglisthjob.h <Baloo/TagListJob> |
20 | */ |
21 | class BALOO_CORE_EXPORT TagListJob : public KJob |
22 | { |
23 | Q_OBJECT |
24 | public: |
25 | explicit TagListJob(QObject* parent = nullptr); |
26 | ~TagListJob() override; |
27 | |
28 | void start() override; |
29 | QStringList tags(); |
30 | |
31 | private: |
32 | class Private; |
33 | std::unique_ptr<Private> const d; |
34 | }; |
35 | |
36 | } |
37 | |
38 | #endif // BALOO_TAGLISTJOB_H |
39 | |