closes #1: Favorite buttons has been extended with category buttons.

This commit is contained in:
2023-05-17 21:31:32 +02:00
parent 5b5f31f64d
commit 2597f79d2d
33 changed files with 596 additions and 106 deletions
+2 -2
View File
@@ -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;
}
+3 -3
View File
@@ -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;