KWayland
6 #ifndef WAYLAND_OUTPUT_H 7 #define WAYLAND_OUTPUT_H 13 #include <KWayland/Client/kwaylandclient_export.h> 67 enum class Transform {
83 Q_DECLARE_FLAGS(Flags, Flag)
96 Flags flags = Flag::None;
102 bool operator==(
const Mode &m)
const;
112 void setup(wl_output *output);
117 bool isValid()
const;
118 operator wl_output*();
119 operator wl_output*()
const;
124 QSize physicalSize()
const;
128 QPoint globalPosition()
const;
140 QSize pixelSize()
const;
147 QRect geometry()
const;
151 int refreshRate()
const;
163 SubPixel subPixel()
const;
171 Transform transform()
const;
191 static Output *
get(wl_output *native);
218 void modeAdded(
const KWayland::Client::Output::Mode &mode);
224 void modeChanged(
const KWayland::Client::Output::Mode &mode);
247 Q_DECLARE_METATYPE(KWayland::Client::Output::SubPixel)
248 Q_DECLARE_METATYPE(KWayland::Client::Output::Transform)
249 Q_DECLARE_METATYPE(KWayland::Client::Output::Mode)
Wrapper class for wl_event_queue interface.
Wrapper for the wl_output interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 22:51:22 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.