Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPresetShadowUpdater.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISPRESETSHADOWUPDATER_H
8#define KISPRESETSHADOWUPDATER_H
9
10#include <QObject>
11#include <QScopedPointer>
13
14class KisViewManager;
15
16class KisPresetShadowUpdater : public QObject
17{
18 Q_OBJECT
19public:
22
23
24public Q_SLOTS:
25 void slotCanvasResourceChanged(int key, const QVariant & value);
26 void slotPresetChanged();
28
29 void slotCacheGenerationFinished(int sequenceNumber,
30 KoResourceCacheInterfaceSP cacheInterface);
31
32private:
33 struct Private;
34 const QScopedPointer<Private> m_d;
35};
36
37#endif // KISPRESETSHADOWUPDATER_H
float value(const T *src, size_t ch)
void slotCacheGenerationFinished(int sequenceNumber, KoResourceCacheInterfaceSP cacheInterface)
void slotCanvasResourceChanged(int key, const QVariant &value)
KisPresetShadowUpdater(KisViewManager *view)
const QScopedPointer< Private > m_d