Krita Source Code Documentation
Loading...
Searching...
No Matches
recorder_image_copying_job.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Luna Lovecraft <ciubix8514@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
7#ifndef RECORDER_IMAGE_COPYING_JOB_H
8#define RECORDER_IMAGE_COPYING_JOB_H
9
10#include "kis_paint_device.h"
11#include "kis_spontaneous_job.h"
12#include <qcontainerfwd.h>
13
14class RecorderImageCopyingJob : public QObject, public KisSpontaneousJob
15{
16 Q_OBJECT
17
18public:
19 RecorderImageCopyingJob(KisPaintDeviceSP device, const QRect &rect, int index, QVector<QRect> regions);
20
22 void run() override;
23 bool overrides(const KisSpontaneousJob *otherJob) override;
24
25 QString debugName() const override;
26 int levelOfDetail() const override
27 {
28 return 0;
29 }
30
31Q_SIGNALS:
33
34private:
38 QRect m_area;
40};
41#endif
RecorderImageCopyingJob(KisPaintDeviceSP device, const QRect &rect, int index, QVector< QRect > regions)
QString debugName() const override
void sigImageCopyingDoneWithData(int index, QVector< QRect > regions, KisPaintDeviceSP device)
bool overrides(const KisSpontaneousJob *otherJob) override