KWin
Loading...
Searching...
No Matches
fakeoutput.h
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9#pragma once
10
11#include "core/output.h"
12
14{
15 Q_OBJECT
16
17public:
18 FakeOutput();
19
20 KWin::RenderLoop *renderLoop() const override;
21 void setName(const QString &name);
22 void setManufacturer(const QString &manufacturer);
23 void setModel(const QString &model);
24 void setMode(QSize size, uint32_t refreshRate);
26 void setDpmsSupported(bool supported);
27 void setPhysicalSize(QSize size);
29 void moveTo(const QPoint &pos);
30 void setScale(qreal scale);
31};
void setMode(QSize size, uint32_t refreshRate)
KWin::RenderLoop * renderLoop() const override
void setDpmsSupported(bool supported)
void setTransform(KWin::OutputTransform transform)
void setPhysicalSize(QSize size)
void setManufacturer(const QString &manufacturer)
void setSubPixel(SubPixel subPixel)
void setName(const QString &name)
void setModel(const QString &model)
void setScale(qreal scale)
void moveTo(const QPoint &pos)
QString manufacturer
Definition output.h:137
qreal scale() const
Definition output.cpp:455
uint32_t refreshRate() const
Definition output.cpp:475
QString model
Definition output.h:138
OutputTransform transform() const
Definition output.cpp:369
SubPixel subPixel() const
Definition output.cpp:505
QString name
Definition output.h:136