Krita Source Code Documentation
Loading...
Searching...
No Matches
KisRecycleProjectionsJob.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
8#include "kis_paint_device.h"
9
11 : m_projectionStore(projectionStore)
12{
13 setExclusive(true);
14}
15
17{
18 const KisRecycleProjectionsJob *otherJob =
19 dynamic_cast<const KisRecycleProjectionsJob*>(_otherJob);
20
21 return otherJob &&
23}
24
26{
28 if (store) {
29 store->recycleProjectionsInSafety();
30 }
31}
32
34{
35 return 0;
36}
37
39{
40 return "KisRecycleProjectionsJob";
41}
KisSafeNodeProjectionStoreBaseWSP m_projectionStore
bool overrides(const KisSpontaneousJob *otherJob) override
QString debugName() const override
KisRecycleProjectionsJob(KisSafeNodeProjectionStoreBaseWSP projectionStore)
void setExclusive(bool value)