File: customcorona.h

package info (click to toggle)
libplasma 6.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,796 kB
  • sloc: cpp: 17,769; sh: 286; xml: 95; python: 57; javascript: 29; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (5)
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