diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-19 15:48:18 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-19 15:48:18 +0800 |
commit | f1503bf1a34cdb7b66171a2772108e7475ea792a (patch) | |
tree | 35bbf79c8b503f2092ae732ed95f0f494b6e74f4 /interchange | |
parent | b21dce3485058b8764500f1efc9f46bea5f7c890 (diff) |
Add product title
Diffstat (limited to 'interchange')
-rw-r--r-- | interchange/product.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interchange/product.hxx b/interchange/product.hxx index 483ee42..63ac63e 100644 --- a/interchange/product.hxx +++ b/interchange/product.hxx @@ -9,6 +9,7 @@ namespace QInterchange { { enum ProductRoles { SkuRole = Qt::UserRole + 1, + TitleRole, DescriptionRole, CommentRole, ThumbRole, @@ -27,6 +28,8 @@ namespace QInterchange { { if (product->sku) sku = QString{product->sku}; + if (product->title) + title = QString{product->title}; if (product->description) description = QString{product->description}; if (product->comment) @@ -47,6 +50,7 @@ namespace QInterchange { } QString sku; + QString title; QString description; QString comment; QString thumb; |