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