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
qwaylandabstractdecoration.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 Robin Burchell <robin.burchell@viroteck.net>
2// Copyright (C) 2016 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
7
8#include <private/qobject_p.h>
13
14#include <QtGui/QImage>
15
17
18namespace QtWaylandClient {
19
21{
22 Q_DECLARE_PUBLIC(QWaylandAbstractDecoration)
23
24public:
27
28 QWindow *m_window = nullptr;
29 QWaylandWindow *m_wayland_window = nullptr;
30
31 bool m_isDirty = true;
33
35};
36
37QWaylandAbstractDecorationPrivate::QWaylandAbstractDecorationPrivate()
38 : m_decorationContentImage(nullptr)
39{
40}
41
45
50
54
55// we do this as a setter to get around plugin factory creates not really
56// being a great way to pass arguments
58{
60
61 // double initialization is probably not great
63
64 d->m_window = window->window();
66}
67
73
79
88
97
104
110
116
122
124{
126 return d->m_isDirty;
127}
128
134
140
146
147}
148
149QT_END_NAMESPACE
150
151#include "moc_qwaylandabstractdecoration_p.cpp"
Combined button and popup list for selecting options.