| 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 Baloo::TagListJob |
| 20 | * \inheaderfile Baloo/TagListJob |
| 21 | * \inmodule Baloo |
| 22 | */ |
| 23 | class BALOO_CORE_EXPORT TagListJob : public KJob |
| 24 | { |
| 25 | Q_OBJECT |
| 26 | public: |
| 27 | /*! |
| 28 | * |
| 29 | */ |
| 30 | explicit TagListJob(QObject* parent = nullptr); |
| 31 | ~TagListJob() override; |
| 32 | |
| 33 | void start() override; |
| 34 | |
| 35 | /*! |
| 36 | * |
| 37 | */ |
| 38 | QStringList tags(); |
| 39 | |
| 40 | private: |
| 41 | class Private; |
| 42 | std::unique_ptr<Private> const d; |
| 43 | }; |
| 44 | |
| 45 | } |
| 46 | |
| 47 | #endif // BALOO_TAGLISTJOB_H |
| 48 | |