plasma-framework/examples/shell/customcorona.h

29 lines
542 B
C
Raw Normal View History

2015-11-23 20:31:20 +01: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:
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