Krita Source Code Documentation
Loading...
Searching...
No Matches
colorsfilters.h
Go to the documentation of this file.
1/*
2 * This file is part of Krita
3 *
4 * SPDX-FileCopyrightText: 2004 Cyrille Berger <cberger@cberger.net>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later */
7
8#ifndef COLORSFILTERS_H
9#define COLORSFILTERS_H
10
11#include <QObject>
12#include <QVariant>
15
16
17class ColorsFilters : public QObject
18{
19 Q_OBJECT
20public:
21 ColorsFilters(QObject *parent, const QVariantList &);
22 ~ColorsFilters() override;
23};
24
26{
27public:
29public:
30
31 void processImpl(KisPaintDeviceSP device,
32 const QRect& applyRect,
33 const KisFilterConfigurationSP config,
34 KoUpdater* progressUpdater
35 ) const override;
36 static inline KoID id() {
37 return KoID("autocontrast", i18n("Auto Contrast"));
38 }
39
40};
41
42
43#endif
~ColorsFilters() override
ColorsFilters(QObject *parent, const QVariantList &)
static KoID id()
void processImpl(KisPaintDeviceSP device, const QRect &applyRect, const KisFilterConfigurationSP config, KoUpdater *progressUpdater) const override
Definition KoID.h:30