mirror of
https://gitgud.io/wackyideas/aerothemeplasma-kde6.git
synced 2024-08-15 00:43:45 +00:00
34 lines
600 B
C
34 lines
600 B
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QStylePlugin>
|
||
|
|
||
|
namespace Breeze
|
||
|
{
|
||
|
class StylePlugin : public QStylePlugin
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "breeze.json")
|
||
|
|
||
|
public:
|
||
|
//* constructor
|
||
|
explicit StylePlugin(QObject *parent = nullptr)
|
||
|
: QStylePlugin(parent)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
//* returns list of valid keys
|
||
|
QStringList keys() const;
|
||
|
|
||
|
//* create style
|
||
|
QStyle *create(const QString &) override;
|
||
|
};
|
||
|
|
||
|
}
|