File indexing completed on 2024-03-24 17:07:45

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