34 d->size =
other.size();
35 d->refreshRate =
other.refreshRate();
45 d->size =
other.size();
46 d->refreshRate =
other.refreshRate();
73 return !d->size.isEmpty() && d->refreshRate > 0;
89 return d->refreshRate;
95void QWaylandOutputMode::setSize(
const QSize &
size)
\inmodule QtWaylandCompositor
QWaylandOutputMode & operator=(const QWaylandOutputMode &other)
int refreshRate() const
Returns the refresh rate in mHz.
QSize size() const
Returns the resolution in pixels.
bool operator==(const QWaylandOutputMode &other) const
Returns true if this mode is equal to other, otherwise returns false.
bool isValid() const
Returns whether this mode contains a valid resolution and refresh rate.
bool operator!=(const QWaylandOutputMode &other) const
Returns true if this mode is not equal to other, otherwise returns false.
GLenum GLuint GLintptr GLsizeiptr size
[1]