2016-04-06 21:07:49 +02:00
|
|
|
#include "shop.h"
|
|
|
|
|
#include <QIcon>
|
2016-04-07 22:22:53 +02:00
|
|
|
#include "shopform.h"
|
2016-04-13 22:37:41 +02:00
|
|
|
#include "shopservice.h"
|
2016-04-06 21:07:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Shop::Shop()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Shop::initServiceUi()
|
|
|
|
|
{
|
2016-04-07 22:22:53 +02:00
|
|
|
m_ui = new ShopForm();
|
2016-04-13 22:37:41 +02:00
|
|
|
m_service = new ShopService();
|
2016-04-06 21:07:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QIcon Shop::pluginIcon()
|
|
|
|
|
{
|
2016-04-20 22:05:27 +02:00
|
|
|
return QIcon(":/icons/shop.svg");
|
2016-04-06 21:07:49 +02:00
|
|
|
}
|
2016-05-29 18:14:49 +02:00
|
|
|
|
|
|
|
|
QTranslator *Shop::translator()
|
|
|
|
|
{
|
|
|
|
|
return translatorFrom(":/translations/shop_");
|
|
|
|
|
}
|