File indexing completed on 2024-04-21 05:31:28
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Sebastian Kügler <sebas@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "../src/config.h" 0010 #include "../src/screen.h" 0011 0012 #include <QObject> 0013 0014 namespace KScreen 0015 { 0016 class Output; 0017 class ConfigOperation; 0018 0019 class TestPnp : public QObject 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit TestPnp(bool monitor, QObject *parent = nullptr); 0025 ~TestPnp() override; 0026 0027 private Q_SLOTS: 0028 void init(); 0029 void configReady(KScreen::ConfigOperation *op); 0030 void print(); 0031 0032 private: 0033 ConfigPtr m_config; 0034 bool m_monitor; 0035 }; 0036 0037 } // namespace