From 6ea1859f82fdde343be5d7d649d40e43223395e3 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, 12 Mar 2023 11:08:10 +0800 Subject: Order now takes only SKU --- interchange.hxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'interchange.hxx') diff --git a/interchange.hxx b/interchange.hxx index 8a4dfc3..b8b36d5 100644 --- a/interchange.hxx +++ b/interchange.hxx @@ -28,13 +28,6 @@ namespace QInterchange { * \brief Destructor. */ ~Interchange(); - /*! - * \brief For putting an item to a cart. - * \param sku The SKU of the item to order. - * \param catalog The catalog from which the item is. - * \param order The order. - */ - void order(QString const& sku, Catalog const& catalog, Ord& order); public slots: /*! @@ -65,6 +58,11 @@ namespace QInterchange { * \brief For fetching data about all active products. */ void defaultAllProducts(); + /*! + * \brief For putting an item to a cart. + * \param sku The SKU of the item to order. + */ + void order(QString const& sku); signals: void gotCatalog(QString const& response); -- cgit v1.2.3