aerothemeplasma/KWin/smod_kwin_theme/breeze/kstyle/breezestyleplugin.cpp

30 行
591 B
C++

/*
* SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "breezestyleplugin.h"
#include "breezestyle.h"
#include <QApplication>
namespace Breeze
{
//_________________________________________________
QStyle *StylePlugin::create(const QString &key)
{
if (key.toLower() == QStringLiteral("breeze")) {
return new Style;
}
return nullptr;
}
//_________________________________________________
QStringList StylePlugin::keys() const
{
return QStringList(QStringLiteral("Breeze"));
}
}