File indexing completed on 2024-04-28 05:26:27

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #include "breezestyleplugin.h"
0008 #include "breezestyle.h"
0009 
0010 #include <QApplication>
0011 
0012 namespace Breeze
0013 {
0014 //_________________________________________________
0015 QStyle *StylePlugin::create(const QString &key)
0016 {
0017     if (key.compare(QLatin1String("breeze"), Qt::CaseInsensitive) == 0) {
0018         return new Style;
0019     }
0020     return nullptr;
0021 }
0022 
0023 //_________________________________________________
0024 QStringList StylePlugin::keys() const
0025 {
0026     return QStringList(QStringLiteral("Breeze"));
0027 }
0028 
0029 }