aerothemeplasma-kde6/KWin/decoration/breeze-v5.93.0/kstyle/breezestyleplugin.cpp

30 lines
612 B
C++
Raw Normal View History

2024-06-13 14:59:18 +00:00
/*
* 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.compare(QLatin1String("breeze"), Qt::CaseInsensitive) == 0) {
return new Style;
}
return nullptr;
}
//_________________________________________________
QStringList StylePlugin::keys() const
{
return QStringList(QStringLiteral("Breeze"));
}
}