2018-01-03 10:57:05 +00:00
|
|
|
/******************************************************************************
|
2024-01-17 13:31:45 +00:00
|
|
|
* QSkinny - Copyright (C) The authors
|
2023-04-06 07:23:37 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2018-01-03 10:57:05 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_SQUIEK_SKIN_FACTORY_H
|
|
|
|
#define QSK_SQUIEK_SKIN_FACTORY_H
|
|
|
|
|
2018-10-12 06:03:03 +00:00
|
|
|
#include "QskSquiekGlobal.h"
|
2018-01-03 10:57:05 +00:00
|
|
|
#include <QskSkinFactory.h>
|
|
|
|
|
2018-10-12 06:03:03 +00:00
|
|
|
class QSK_SQUIEK_EXPORT QskSquiekSkinFactory : public QskSkinFactory
|
2018-01-03 10:57:05 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2023-04-05 15:47:15 +00:00
|
|
|
#if defined( QSK_SQUIEK_MAKEDLL )
|
2018-01-03 10:57:05 +00:00
|
|
|
Q_PLUGIN_METADATA( IID QskSkinFactoryIID FILE "metadata.json" )
|
|
|
|
Q_INTERFACES( QskSkinFactory )
|
2023-04-05 15:47:15 +00:00
|
|
|
#endif
|
2018-01-03 10:57:05 +00:00
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
public:
|
2018-01-03 10:57:05 +00:00
|
|
|
QskSquiekSkinFactory( QObject* parent = nullptr );
|
2018-07-31 15:32:25 +00:00
|
|
|
~QskSquiekSkinFactory() override;
|
2018-01-03 10:57:05 +00:00
|
|
|
|
2018-07-31 15:32:25 +00:00
|
|
|
QStringList skinNames() const override;
|
|
|
|
QskSkin* createSkin( const QString& skinName ) override;
|
2018-01-03 10:57:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|