File indexing completed on 2024-04-21 03:51:48

0001 /*
0002     This file is part of the KDE Baloo Project
0003     SPDX-FileCopyrightText: 2014 Vishesh Handa <vhanda@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-or-later
0006 */
0007 
0008 #ifndef BALOO_TAGLISTJOB_H
0009 #define BALOO_TAGLISTJOB_H
0010 
0011 #include <KJob>
0012 #include "core_export.h"
0013 
0014 #include <memory>
0015 
0016 namespace Baloo {
0017 
0018 /**
0019  * @class TagListJob taglisthjob.h <Baloo/TagListJob>
0020  */
0021 class BALOO_CORE_EXPORT TagListJob : public KJob
0022 {
0023     Q_OBJECT
0024 public:
0025     explicit TagListJob(QObject* parent = nullptr);
0026     ~TagListJob() override;
0027 
0028     void start() override;
0029     QStringList tags();
0030 
0031 private:
0032     class Private;
0033     std::unique_ptr<Private> const d;
0034 };
0035 
0036 }
0037 
0038 #endif // BALOO_TAGLISTJOB_H