2015-11-23 20:31:20 +01:00
|
|
|
/*
|
2020-08-13 21:08:54 +02:00
|
|
|
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
|
|
|
|
*/
|
2015-11-23 20:31:20 +01:00
|
|
|
|
|
|
|
#ifndef CUSTOMCORONA_H
|
|
|
|
#define CUSTOMCORONA_H
|
|
|
|
|
2015-11-24 10:58:05 +01:00
|
|
|
#include <Plasma/Corona>
|
|
|
|
#include <PlasmaQuick/ContainmentView>
|
2015-11-23 20:31:20 +01:00
|
|
|
|
|
|
|
class CustomCorona : public Plasma::Corona
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-01-26 15:48:27 +01:00
|
|
|
explicit CustomCorona(QObject *parent = nullptr);
|
|
|
|
QRect screenGeometry(int id) const override;
|
2015-11-23 20:31:20 +01:00
|
|
|
|
|
|
|
public Q_SLOTS:
|
|
|
|
void load();
|
|
|
|
|
|
|
|
private:
|
|
|
|
PlasmaQuick::ContainmentView *m_view;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|