You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
632 B
C++
35 lines
632 B
C++
#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
|