Warning, file /plasma/oxygen/kstyle/oxygenstyleplugin.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 //_________________________________________________
0015 QStyle *StylePlugin::create(const QString &key)
0016 {
0017     if (key.toLower() == QStringLiteral("oxygen")) {
0018         return new Style;
0019     }
0020     return nullptr;
0021 }
0022 
0023 //_________________________________________________
0024 StylePlugin::~StylePlugin()
0025 {
0026 }
0027 
0028 //_________________________________________________
0029 QStringList StylePlugin::keys() const
0030 {
0031     return QStringList(QStringLiteral("Oxygen"));
0032 }
0033 }