File indexing completed on 2024-05-05 05:35:32

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