Warning, file /plasma/libkscreen/backends/kwayland/waylandscreen.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * SPDX-FileCopyrightText: 2014-2015 Sebastian Kügler <sebas@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 #pragma once 0007 0008 #include "types.h" 0009 0010 #include <QObject> 0011 #include <QSize> 0012 0013 namespace KScreen 0014 { 0015 class WaylandConfig; 0016 class WaylandOutputDevice; 0017 0018 class WaylandScreen : public QObject 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 explicit WaylandScreen(WaylandConfig *config); 0024 ~WaylandScreen() override = default; 0025 0026 KScreen::ScreenPtr toKScreenScreen(KScreen::ConfigPtr &parent) const; 0027 void updateKScreenScreen(KScreen::ScreenPtr &screen) const; 0028 void setOutputs(const QList<WaylandOutputDevice *> &outputs); 0029 0030 private: 0031 QSize m_size; 0032 int m_outputCount; 0033 }; 0034 0035 }