mirror of
https://gitgud.io/wackyideas/aerothemeplasma-kde6.git
synced 2024-08-15 00:43:45 +00:00
30 lines
612 B
C++
30 lines
612 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.compare(QLatin1String("breeze"), Qt::CaseInsensitive) == 0) {
|
||
|
return new Style;
|
||
|
}
|
||
|
return nullptr;
|
||
|
}
|
||
|
|
||
|
//_________________________________________________
|
||
|
QStringList StylePlugin::keys() const
|
||
|
{
|
||
|
return QStringList(QStringLiteral("Breeze"));
|
||
|
}
|
||
|
|
||
|
}
|