summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocPlugin/StyleB.hpp
blob: 163c9b20a725da00927ff511fe77d049d0149b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef STYLEB_HPP
#define STYLEB_HPP

#include "StyleCommon.hpp"
#include <QStylePlugin>

class StyleB : public QStylePlugin
{
  Q_OBJECT
  // Json file in local subdirectory
  Q_PLUGIN_METADATA(IID "org.styles.B" FILE "jsonIn/StyleB.json")
  A_CUSTOM_MACRO(SomeArg, "jsonIn/StyleB_Custom.json", AnotherArg)
public:
  QStyle* create(const QString& key);
};

#endif