18 lines
358 B
C++
Raw Normal View History

2017-07-20 19:35:53 +02:00
#ifndef STYLEA_HPP
#define STYLEA_HPP
2018-01-26 17:06:56 +01:00
#include "UtilityMacros.hpp"
2017-07-20 19:35:53 +02:00
#include <QStylePlugin>
class StyleA : public QStylePlugin
{
Q_OBJECT
2018-01-26 17:06:56 +01:00
// Json file in source local directory
2017-07-20 19:35:53 +02:00
Q_PLUGIN_METADATA(IID "org.styles.A" FILE "StyleA.json")
A_CUSTOM_MACRO(SomeArg, "StyleA_Custom.json", AnotherArg)
public:
QStyle* create(const QString& key);
};
#endif