Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_update_selection_job.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2013 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_UPDATE_SELECTION_JOB_H
8#define __KIS_UPDATE_SELECTION_JOB_H
9
10#include "kis_spontaneous_job.h"
11#include "kis_selection.h"
12
13class KRITAIMAGE_EXPORT KisUpdateSelectionJob : public KisSpontaneousJob
14{
15public:
16 KisUpdateSelectionJob(KisSelectionSP selection, const QRect &updateRect = QRect());
17
18 bool overrides(const KisSpontaneousJob *otherJob) override;
19 void run() override;
20 int levelOfDetail() const override;
21 QString debugName() const override;
22
23private:
26};
27
28#endif /* __KIS_UPDATE_SELECTION_JOB_H */
virtual QString debugName() const =0
virtual void run()=0
virtual bool overrides(const KisSpontaneousJob *otherJob)=0
virtual int levelOfDetail() const =0