Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwaylandshell.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#include "
qwaylandshell.h
"
5
#include "
qwaylandshell_p.h
"
6
7
QT_BEGIN_NAMESPACE
8
9
QWaylandShellPrivate::QWaylandShellPrivate
()
10
{
11
}
12
13
QWaylandShell::QWaylandShell
()
14
{
15
}
16
17
QWaylandShell::QWaylandShell
(
QWaylandObject
*waylandObject)
18
:
QWaylandCompositorExtension
(waylandObject, *new
QWaylandShellPrivate
())
19
{
20
}
21
42
QWaylandShell::FocusPolicy
QWaylandShell::focusPolicy
()
const
43
{
44
Q_D(
const
QWaylandShell
);
45
return
d
->focusPolicy;
46
}
47
48
void
QWaylandShell::setFocusPolicy
(
QWaylandShell::FocusPolicy
focusPolicy)
49
{
50
Q_D(
QWaylandShell
);
51
52
if
(
d
->focusPolicy ==
focusPolicy
)
53
return
;
54
55
d
->focusPolicy =
focusPolicy
;
56
emit
focusPolicyChanged
();
57
}
58
59
QWaylandShell::QWaylandShell
(
QWaylandShellPrivate
&dd)
60
:
QWaylandCompositorExtension
(dd)
61
{
62
}
63
64
QWaylandShell::QWaylandShell
(
QWaylandObject
*container,
QWaylandShellPrivate
&dd)
65
:
QWaylandCompositorExtension
(container, dd)
66
{
67
}
68
69
QT_END_NAMESPACE
70
71
#include "moc_qwaylandshell.cpp"
QWaylandCompositorExtension
\inmodule QtWaylandCompositor
Definition
qwaylandcompositorextension.h:39
QWaylandObject
\inmodule QtWaylandCompositor
Definition
qwaylandcompositorextension.h:21
QWaylandShellPrivate
Definition
qwaylandshell_p.h:24
QWaylandShellPrivate::QWaylandShellPrivate
QWaylandShellPrivate()
Definition
qwaylandshell.cpp:9
QWaylandShell
Definition
qwaylandshell.h:15
QWaylandShell::focusPolicy
FocusPolicy focusPolicy
\qmlproperty enumeration Shell::focusPolicy
Definition
qwaylandshell.h:18
QWaylandShell::setFocusPolicy
void setFocusPolicy(FocusPolicy focusPolicy)
Definition
qwaylandshell.cpp:48
QWaylandShell::QWaylandShell
QWaylandShell()
Definition
qwaylandshell.cpp:13
QWaylandShell::focusPolicyChanged
void focusPolicyChanged()
QWaylandShell::FocusPolicy
FocusPolicy
This enum type is used to specify the focus policy for shell surfaces.
Definition
qwaylandshell.h:24
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
emit
#define emit
Definition
qtmetamacros.h:49
qwaylandshell.h
qwaylandshell_p.h
d
double d
Definition
src_corelib_text_qlocale.cpp:9
qtwayland
src
compositor
extensions
qwaylandshell.cpp
Generated by
1.10.0