File indexing completed on 2025-03-09 05:02:32

0001 /*
0002     SPDX-FileCopyrightText: 2015 Marco Martin <notmart@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef CUSTOMCORONA_H
0008 #define CUSTOMCORONA_H
0009 
0010 #include <Plasma/Corona>
0011 #include <PlasmaQuick/ContainmentView>
0012 
0013 class CustomCorona : public Plasma::Corona
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     explicit CustomCorona(QObject *parent = nullptr);
0019     QRect screenGeometry(int id) const override;
0020 
0021 public Q_SLOTS:
0022     void load();
0023 
0024 private:
0025     PlasmaQuick::ContainmentView *m_view;
0026 };
0027 
0028 #endif