2016-04-06 21:07:49 +02:00
|
|
|
#ifndef SHOP_H
|
|
|
|
|
#define SHOP_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <core.h>
|
|
|
|
|
#include "shop_global.h"
|
|
|
|
|
|
|
|
|
|
class SHOPSHARED_EXPORT Shop : public QObject, IMetaDataPlugin
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
Q_PLUGIN_METADATA(IID PluginInterface_iid FILE "shop.json")
|
|
|
|
|
Q_INTERFACES(IPlugin)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
Shop();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
void initServiceUi() Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// IPlugin interface
|
|
|
|
|
public:
|
2023-04-28 22:25:29 +02:00
|
|
|
QIcon pluginIcon() override;
|
|
|
|
|
QWidget *ui() override;
|
|
|
|
|
QTranslator *translator() override;
|
|
|
|
|
bool hasNumberSeries() override;
|
|
|
|
|
QString numberSeriesPrefix() override;
|
2016-04-06 21:07:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SHOP_H
|