Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwaylandoutputmode.h
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDOUTPUTMODE_H
6
#
define
QWAYLANDOUTPUTMODE_H
7
8
#
include
<
QtWaylandCompositor
/
qtwaylandcompositorglobal
.
h
>
9
#
include
<
QtCore
/
QSize
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandOutputMode
14
{
15
public
:
16
explicit
QWaylandOutputMode();
17
QWaylandOutputMode(
const
QSize &size,
int
refreshRate);
18
QWaylandOutputMode(
const
QWaylandOutputMode &other);
19
~QWaylandOutputMode();
20
21
QWaylandOutputMode &operator=(
const
QWaylandOutputMode &other);
22
bool
operator==(
const
QWaylandOutputMode &other)
const
;
23
bool
operator!=(
const
QWaylandOutputMode &other)
const
;
24
25
bool
isValid()
const
;
26
27
QSize size()
const
;
28
int
refreshRate()
const
;
29
30
private
:
31
class
QWaylandOutputModePrivate *
const
d;
32
friend
class
QWaylandOutputPrivate;
33
34
void
setSize(
const
QSize &size);
35
};
36
Q_DECLARE_TYPEINFO
(QWaylandOutputMode, Q_MOVABLE_TYPE);
37
38
QT_END_NAMESPACE
39
40
#
endif
// QWAYLANDOUTPUTMODE_H
QWaylandOutputMode
\inmodule QtWaylandCompositor
Definition
qwaylandoutputmode.h:14
Q_DECLARE_TYPEINFO
Q_DECLARE_TYPEINFO(QByteArrayView, Q_PRIMITIVE_TYPE)
qtwayland
src
compositor
compositor_api
qwaylandoutputmode.h
Generated on
for Qt by
1.18.0