File indexing completed on 2024-05-12 15:58:39
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_RECALCULATE_GENERATOR_LAYER_JOB_H 0008 #define __KIS_RECALCULATE_GENERATOR_LAYER_JOB_H 0009 0010 #include "kis_types.h" 0011 #include "kis_spontaneous_job.h" 0012 0013 0014 class KRITAIMAGE_EXPORT KisRecalculateGeneratorLayerJob : public KisSpontaneousJob 0015 { 0016 public: 0017 KisRecalculateGeneratorLayerJob(KisGeneratorLayerSP layer); 0018 0019 bool overrides(const KisSpontaneousJob *otherJob) override; 0020 void run() override; 0021 int levelOfDetail() const override; 0022 0023 QString debugName() const override; 0024 0025 private: 0026 KisGeneratorLayerSP m_layer; 0027 }; 0028 0029 #endif /* __KIS_RECALCULATE_GENERATOR_LAYER_JOB_H */