/* SPDX-FileCopyrightText: 2014 Bhushan Shah SPDX-FileCopyrightText: 2014 Marco Martin SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #pragma once #include class PlasmaWindowedView; class PlasmaWindowedCorona : public Plasma::Corona { Q_OBJECT public: explicit PlasmaWindowedCorona(const QString &shell, QObject *parent = nullptr); QRect screenGeometry(int id) const override; void setHasStatusNotifier(bool stay); void loadApplet(const QString &applet, const QVariantList &arguments); public Q_SLOTS: void load(); void activateRequested(const QStringList &arguments, const QString &workingDirectory); private: Plasma::Containment *m_containment = nullptr; PlasmaWindowedView *m_view = nullptr; bool m_hasStatusNotifier = false; };