mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
21 lines
520 B
C++
21 lines
520 B
C++
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
// Copyright (c) 2014-2020, The Monero Project.
|
||
|
|
||
|
#include "AddressBookInfo.h"
|
||
|
|
||
|
QString AddressBookInfo::address() const {
|
||
|
return m_address;
|
||
|
}
|
||
|
|
||
|
QString AddressBookInfo::description() const {
|
||
|
return m_description;
|
||
|
}
|
||
|
|
||
|
AddressBookInfo::AddressBookInfo(const Monero::AddressBookRow *pimpl, QObject *parent)
|
||
|
: QObject(parent)
|
||
|
, m_address(QString::fromStdString(pimpl->getAddress()))
|
||
|
, m_description(QString::fromStdString(pimpl->getDescription()))
|
||
|
{
|
||
|
|
||
|
}
|