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
qwaylandserverbufferintegration_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDSERVERBUFFERINTEGRATION_H
6#define QWAYLANDSERVERBUFFERINTEGRATION_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QSize>
20#include <QtGui/qopengl.h>
21
22#include <QtWaylandClient/private/qwayland-server-buffer-extension.h>
23#include <QtWaylandClient/qtwaylandclientglobal.h>
24#include <QtCore/private/qglobal_p.h>
25
26QT_BEGIN_NAMESPACE
27
28class QOpenGLTexture;
29
30namespace QtWaylandClient {
31
32class QWaylandDisplay;
33
34class Q_WAYLANDCLIENT_EXPORT QWaylandServerBuffer
35{
36public:
42
44 virtual ~QWaylandServerBuffer();
45
47
48 Format format() const;
49 QSize size() const;
50
51 void setUserData(void *userData);
52 void *userData() const;
53
54protected:
57
58private:
59 void *m_user_data = nullptr;
60};
61
62class Q_WAYLANDCLIENT_EXPORT QWaylandServerBufferIntegration
63{
64public:
67
69
71};
72
73}
74
75QT_END_NAMESPACE
76
77#endif
Combined button and popup list for selecting options.