Krita Source Code Documentation
Loading...
Searching...
No Matches
KisWaylandAPISurface.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
10
11
12KisWaylandAPISurfaceFeedback::KisWaylandAPISurfaceFeedback(::wp_color_management_surface_feedback_v1 *obj)
13 : QtWayland::wp_color_management_surface_feedback_v1(obj)
14{
16}
17
19{
20 wp_color_management_surface_feedback_v1_destroy(object());
21}
22
28
34
35KisWaylandAPISurface::KisWaylandAPISurface(::wp_color_management_surface_v1 *obj, std::unique_ptr<KisWaylandAPISurfaceFeedback> &&feedback)
36 : QtWayland::wp_color_management_surface_v1(obj)
37 , m_feedback(std::move(feedback))
38{
39}
40
42{
43 wp_color_management_surface_v1_destroy(object());
44}
45
46#include "moc_KisWaylandAPISurface.cpp"
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
Q_SIGNAL void preferredChanged()
KisWaylandAPISurfaceFeedback(::wp_color_management_surface_feedback_v1 *obj)
void wp_color_management_surface_feedback_v1_preferred_changed(uint32_t identity) override
std::unique_ptr< KisWaylandAPIImageDescription > m_preferred
KisWaylandAPISurface(::wp_color_management_surface_v1 *obj, std::unique_ptr< KisWaylandAPISurfaceFeedback > &&feedback)