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
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
4#ifndef QWAYLANDOUTPUTMODE_H
5#define QWAYLANDOUTPUTMODE_H
6
7#include <QtWaylandCompositor/qtwaylandcompositorglobal.h>
8#include <QtCore/QSize>
9
11
12class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandOutputMode
13{
14public:
15 explicit QWaylandOutputMode();
16 QWaylandOutputMode(const QSize &size, int refreshRate);
19
21 bool operator==(const QWaylandOutputMode &other) const;
22 bool operator!=(const QWaylandOutputMode &other) const;
23
24 bool isValid() const;
25
26 QSize size() const;
27 int refreshRate() const;
28
29private:
30 class QWaylandOutputModePrivate *const d;
32
33 void setSize(const QSize &size);
34};
36
38
39#endif // QWAYLANDOUTPUTMODE_H
\inmodule QtCore
Definition qsize.h:25
\inmodule QtWaylandCompositor
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
GLenum GLuint GLintptr GLsizeiptr size
[1]
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
Definition qrandom.cpp:1220
@ Q_MOVABLE_TYPE
Definition qtypeinfo.h:159
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
Definition qtypeinfo.h:180
QSharedPointer< T > other(t)
[5]