Krita Source Code Documentation
Loading...
Searching...
No Matches
Preset.h
Go to the documentation of this file.
1
2/*
3 * SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef LIBKIS_PRESET_H
9#define LIBKIS_PRESET_H
10
11#include "kritalibkis_export.h"
12#include "libkis.h"
13#include "Resource.h"
14#include <kis_types.h>
15#include <kis_paintop_preset.h>
16
34class KRITALIBKIS_EXPORT Preset : public QObject
35{
36public:
37 Preset(Resource *resource);
38 ~Preset() override;
39
45 QString toXML() const;
46
52 void fromXML(const QString &xml);
53
54private:
55 struct Private;
56 Private *const d;
57
63
64};
65
66#endif // LIBKIS_PRESET_H
The Preset class Preset is a resource object that stores brush preset data.
Definition Preset.h:35
Private *const d
Definition Preset.h:56
KisPaintOpPresetSP paintOpPreset()
paintOpPreset