/* SPDX-FileCopyrightText: 2012 Alejandro Fiestas Olivares SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include #include namespace KScreen { class Config; } class Console : public QObject { Q_OBJECT public: explicit Console(const KScreen::ConfigPtr &config); ~Console() override; public Q_SLOTS: void printConfig(); void printJSONConfig(); void printSerializations(); void monitor(); void monitorAndPrint(); private: KScreen::ConfigPtr m_config; };