KWayland
6 #ifndef WAYLAND_OUTPUT_H
7 #define WAYLAND_OUTPUT_H
13 #include "KWayland/Client/kwaylandclient_export.h"
66 enum class Transform {
82 Q_DECLARE_FLAGS(Flags, Flag)
95 Flags flags = Flag::None;
101 bool operator==(
const Mode &m)
const;
111 void setup(wl_output *output);
116 bool isValid()
const;
117 operator wl_output *();
118 operator wl_output *()
const;
123 QSize physicalSize()
const;
127 QPoint globalPosition()
const;
139 QSize pixelSize()
const;
146 QRect geometry()
const;
150 int refreshRate()
const;
162 SubPixel subPixel()
const;
170 Transform transform()
const;
227 void modeAdded(
const KWayland::Client::Output::Mode &mode);
233 void modeChanged(
const KWayland::Client::Output::Mode &mode);
256 Q_DECLARE_METATYPE(KWayland::Client::Output::SubPixel)
257 Q_DECLARE_METATYPE(KWayland::Client::Output::Transform)
258 Q_DECLARE_METATYPE(KWayland::Client::Output::Mode)
Wrapper for the wl_output interface.
Wrapper class for wl_event_queue interface.
virtual QVariant get(ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:50:36 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.