From 6fccc8247534aba6a378ee02b7eeef66018ded51 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 Feb 2023 18:37:21 +0800 Subject: Interface for initialising Member with C data --- interchange/member.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interchange/member.hxx') diff --git a/interchange/member.hxx b/interchange/member.hxx index 4031f7e..b40dc6d 100644 --- a/interchange/member.hxx +++ b/interchange/member.hxx @@ -32,7 +32,8 @@ namespace QInterchange { Q_PROPERTY(QString email READ email WRITE setEmail NOTIFY emailChanged) public: - explicit Member(QObject* parent = nullptr); + explicit Member(interchange_member* data = nullptr, + QObject* parent = nullptr); ~Member() {} QString const& userName() const { return m_userName; } -- cgit v1.2.3