File indexing completed on 2024-04-28 04:38:20

0001 /*
0002     SPDX-FileCopyrightText: 2013 Aleix Pol Gonzalez <aleixpol@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef PRUNEJOB_H
0008 #define PRUNEJOB_H
0009 #include <outputview/outputjob.h>
0010 
0011 namespace KDevelop { class IProject; }
0012 
0013 class PruneJob : public KDevelop::OutputJob
0014 {
0015     Q_OBJECT
0016     public:
0017         explicit PruneJob(KDevelop::IProject* project);
0018         void start() override;
0019         bool doKill() override;
0020 
0021     private Q_SLOTS:
0022         void jobFinished(KJob* job);
0023 
0024     private:
0025         KDevelop::IProject* m_project;
0026         KJob* m_job;
0027 };
0028 
0029 #endif // PRUNEJOB_H