diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-30 12:09:59 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-30 12:09:59 +0800 |
commit | f3d5e7754d0be9bd0f076ad26a57dd7c93e0d064 (patch) | |
tree | 295832a8cc2e643a3e5fbcf710a05a0abc41023a /user.cxx | |
parent | eba11889c757985b164c82da4d4b9b1a850c4c92 (diff) |
Make user member names more consistent
Diffstat (limited to 'user.cxx')
-rw-r--r-- | user.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -211,16 +211,16 @@ namespace RTClient { m_id = user->id; emit idChanged(); } - if (user->emailaddress) { - m_emailAddress = user->emailaddress; + if (user->email_address) { + m_emailAddress = user->email_address; emit emailAddressChanged(); } - if (user->realname) { - m_realName = user->realname; + if (user->real_name) { + m_realName = user->real_name; emit realNameChanged(); } - if (user->nickname) { - m_nickName = user->nickname; + if (user->nick_name) { + m_nickName = user->nick_name; emit nickNameChanged(); } if (user->organization) { @@ -251,20 +251,20 @@ namespace RTClient { m_country = user->country; emit countryChanged(); } - if (user->homephone) { - m_homePhone = user->homephone; + if (user->home_phone) { + m_homePhone = user->home_phone; emit homePhoneChanged(); } - if (user->workphone) { - m_workPhone = user->workphone; + if (user->work_phone) { + m_workPhone = user->work_phone; emit workPhoneChanged(); } - if (user->mobilephone) { - m_mobilePhone = user->mobilephone; + if (user->mobile_phone) { + m_mobilePhone = user->mobile_phone; emit mobilePhoneChanged(); } - if (user->pagerphone) { - m_pagerPhone = user->pagerphone; + if (user->pager_phone) { + m_pagerPhone = user->pager_phone; emit pagerPhoneChanged(); } if (user->gecos) { |