Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwlhwintegration.cpp
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:critical reason:network-protocol
4
6
7#include <QtWaylandCompositor/QWaylandCompositor>
8
10
11namespace QtWayland {
12
18
20{
21 m_client_buffer_integration_name = name;
22}
24{
25 m_server_buffer_integration_name = name;
26}
27
29{
30 if (!m_client_buffer_integration_name.isEmpty())
31 send_client_backend(resource->handle, m_client_buffer_integration_name);
32 if (!m_server_buffer_integration_name.isEmpty())
33 send_server_backend(resource->handle, m_server_buffer_integration_name);
34}
35
36}
37
38QT_END_NAMESPACE
void setServerBufferIntegrationName(const QString &name)
HardwareIntegration(QWaylandCompositor *compositor)
void hardware_integration_bind_resource(Resource *resource) override
void setClientBufferIntegrationName(const QString &name)
Combined button and popup list for selecting options.