From f1503bf1a34cdb7b66171a2772108e7475ea792a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 19 Feb 2023 15:48:18 +0800 Subject: Add product title --- interchange/product.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'interchange') 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; -- cgit v1.2.3