1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/*
SPDX-FileCopyrightText: 2015 Marco Martin <notmart@gmail.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef CUSTOMCORONA_H
#define CUSTOMCORONA_H
#include <Plasma/Corona>
#include <PlasmaQuick/ContainmentView>
class CustomCorona : public Plasma::Corona
{
Q_OBJECT
public:
explicit CustomCorona(QObject *parent = nullptr);
QRect screenGeometry(int id) const override;
public Q_SLOTS:
void load();
private:
PlasmaQuick::ContainmentView *m_view;
};
#endif
|