2023-06-17 12:23:34 +02:00
|
|
|
/******************************************************************************
|
2024-01-17 14:31:45 +01:00
|
|
|
* QSkinny - Copyright (C) The authors
|
2023-06-17 12:23:34 +02:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#include "QskFluent2SkinFactory.h"
|
|
|
|
#include "QskFluent2Skin.h"
|
|
|
|
|
2024-01-30 14:52:40 +01:00
|
|
|
static const QString name = QStringLiteral( "Fluent2" );
|
2023-06-17 12:23:34 +02:00
|
|
|
|
|
|
|
QskFluent2SkinFactory::QskFluent2SkinFactory( QObject* parent )
|
|
|
|
: QskSkinFactory( parent )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QskFluent2SkinFactory::~QskFluent2SkinFactory()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QStringList QskFluent2SkinFactory::skinNames() const
|
|
|
|
{
|
2024-01-30 14:52:40 +01:00
|
|
|
return { name };
|
2023-06-17 12:23:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
QskSkin* QskFluent2SkinFactory::createSkin( const QString& skinName )
|
|
|
|
{
|
2024-01-30 14:52:40 +01:00
|
|
|
if ( QString::compare( skinName, name, Qt::CaseInsensitive ) == 0 )
|
|
|
|
return new QskFluent2Skin();
|
2023-06-17 12:23:34 +02:00
|
|
|
|
2024-01-30 14:52:40 +01:00
|
|
|
return nullptr;
|
2023-06-17 12:23:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#include "moc_QskFluent2SkinFactory.cpp"
|