Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_common_colors_recalculation_runner.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: GPL-3.0-or-later
3 */
4
5#ifndef KIS_COMMON_COLORS_RECALCULATION_RUNNER_H
6#define KIS_COMMON_COLORS_RECALCULATION_RUNNER_H
7
8#include <QRunnable>
9#include <QColor>
10#include <QImage>
11
12class KoColor;
13class KisCommonColors;
14
15
16class KisCommonColorsRecalculationRunner : public QRunnable
17{
18public:
19 KisCommonColorsRecalculationRunner(QImage data, int numberOfColors, KisCommonColors* parentObj)
20 : m_imageData(data)
21 , m_numColors(numberOfColors)
22 , m_commonColors(parentObj)
23 {}
24
25 void run() override;
28
29private:
33};
34
35#endif // KIS_COMMON_COLORS_RECALCULATION_RUNNER_H
KisCommonColorsRecalculationRunner(QImage data, int numberOfColors, KisCommonColors *parentObj)