Camp wizard is now able to open from shop plugin
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef CAMPSHOPITEM_H
|
||||
#define CAMPSHOPITEM_H
|
||||
|
||||
#include <shopitem.h>
|
||||
|
||||
class CampShopItem : public ShopItem
|
||||
{
|
||||
public:
|
||||
CampShopItem(QObject *parent = 0);
|
||||
|
||||
// IShopItem interface
|
||||
public:
|
||||
QString name();
|
||||
QString shortName();
|
||||
QDecDouble unitPrice();
|
||||
Enums::VatType vatType();
|
||||
QString pluginId();
|
||||
|
||||
// ShopItem interface
|
||||
public:
|
||||
QString code();
|
||||
|
||||
void setUnitPrice(const QDecDouble &unitPrice);
|
||||
|
||||
void setVatType(const Enums::VatType &vatType);
|
||||
|
||||
private:
|
||||
QDecDouble m_unitPrice;
|
||||
Enums::VatType m_vatType;
|
||||
};
|
||||
|
||||
typedef QSharedPointer<CampShopItem> CampShopItemPtr;
|
||||
|
||||
#endif // CAMPSHOPITEM_H
|
||||
Reference in New Issue
Block a user