diff options
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/member.hxx | 1 | ||||
-rw-r--r-- | qicclient/ord.hxx | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qicclient/member.hxx b/qicclient/member.hxx index 864d353..fc3c77e 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -83,6 +83,7 @@ namespace QICClient { QString const& country() const { return m_country; } QString const& phoneDay() const { return m_phoneDay; } QString const& email() const { return m_email; } + icclient_member* data() { return m_data; } void setUserName(QString const& userName); void setUserNick(QString const& userNick); diff --git a/qicclient/ord.hxx b/qicclient/ord.hxx index fc7802a..697daa7 100644 --- a/qicclient/ord.hxx +++ b/qicclient/ord.hxx @@ -3,6 +3,7 @@ #include <QAbstractListModel> #include <icclient/ord.h> +#include "member.hxx" #include "product.hxx" namespace QICClient { @@ -56,11 +57,9 @@ namespace QICClient { double shipping() const { return m_shipping; } double totalCost() const { return m_totalCost; } - /* public slots: - void remove(unsigned int const& indices); - void checkout(); - */ +// void remove(unsigned int const& indices); + void checkout(Member& member); signals: void rowCountChanged(); |