closes #1: Favorite buttons has been extended with category buttons.
This commit is contained in:
@@ -5,7 +5,7 @@ QX_REGISTER_CPP_SHOP(FavoritItem)
|
||||
|
||||
QX_REGISTER_ALL_QT_PROPERTIES(FavoritItem, "id")
|
||||
|
||||
long FavoritItem::id()
|
||||
long FavoritItem::id() const
|
||||
{
|
||||
return m_id;
|
||||
}
|
||||
@@ -55,7 +55,7 @@ void FavoritItem::setVatType(const Enums::VatType &vatType)
|
||||
m_vatType = vatType;
|
||||
}
|
||||
|
||||
QString FavoritItem::pluginId()
|
||||
QString FavoritItem::pluginId() const
|
||||
{
|
||||
return m_pluginId;
|
||||
}
|
||||
|
||||
@@ -30,13 +30,13 @@ public:
|
||||
|
||||
// IShopItem interface
|
||||
public:
|
||||
long id() override;
|
||||
long id() const override;
|
||||
void setId(long id);
|
||||
|
||||
QString name() override;
|
||||
void setName(const QString &name);
|
||||
|
||||
virtual QString shortName() override;
|
||||
QString shortName() override;
|
||||
void setShortName(const QString &shortName);
|
||||
|
||||
QDecDouble unitPrice() override;
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
Enums::VatType vatType() override;
|
||||
void setVatType(const Enums::VatType &vatType);
|
||||
|
||||
QString pluginId() override;
|
||||
QString pluginId() const override;
|
||||
void setPluginId(const QString &pluginId);
|
||||
|
||||
QString favButtonName() const;
|
||||
|
||||
Reference in New Issue
Block a user