aerothemeplasma/kwin/decoration/breeze-v5.93.0/kstyle/breezestyleplugin.cpp

30 lines
612 B
C++
Raw Normal View History

/*
* 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)
{
2024-08-09 01:20:25 +00:00
if (key.compare(QLatin1String("breeze"), Qt::CaseInsensitive) == 0) {
return new Style;
}
return nullptr;
}
//_________________________________________________
QStringList StylePlugin::keys() const
{
return QStringList(QStringLiteral("Breeze"));
}
}