diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-12 18:37:21 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-12 18:37:21 +0800 |
commit | 6fccc8247534aba6a378ee02b7eeef66018ded51 (patch) | |
tree | bc551308b2361bf0243f0813743330b2525d374f /interchange/member.hxx | |
parent | 57f4130c1dde59a4c918f3ba64e3c7510de14ffc (diff) |
Interface for initialising Member with C data
Diffstat (limited to 'interchange/member.hxx')
-rw-r--r-- | interchange/member.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |