You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
711 B
39 lines
711 B
/* |
|
* SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr> |
|
* |
|
* SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef breezestyleplugin_h |
|
#define breezestyleplugin_h |
|
|
|
#include <QStylePlugin> |
|
|
|
namespace Breeze |
|
{ |
|
|
|
class StylePlugin : public QStylePlugin |
|
{ |
|
|
|
Q_OBJECT |
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "breeze.json" ) |
|
|
|
public: |
|
|
|
//* constructor |
|
explicit StylePlugin(QObject *parent = nullptr): |
|
QStylePlugin(parent) |
|
{} |
|
|
|
//* returns list of valid keys |
|
QStringList keys() const; |
|
|
|
//* create style |
|
QStyle* create( const QString& ) override; |
|
|
|
}; |
|
|
|
} |
|
|
|
#endif
|
|
|