File indexing completed on 2024-04-28 15:17:40

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 namespace Baloo {
0015 
0016 /**
0017  * @class TagListJob taglisthjob.h <Baloo/TagListJob>
0018  */
0019 class BALOO_CORE_EXPORT TagListJob : public KJob
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit TagListJob(QObject* parent = nullptr);
0024     ~TagListJob() override;
0025 
0026     void start() override;
0027     QStringList tags();
0028 
0029 private:
0030     class Private;
0031     Private* d;
0032 };
0033 
0034 }
0035 
0036 #endif // BALOO_TAGLISTJOB_H