mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
25 lines
548 B
C++
25 lines
548 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: The Monero Project
|
|
|
|
#include "AccountRow.h"
|
|
#include "WalletManager.h"
|
|
|
|
qsizetype AccountRow::getRow() const {
|
|
return m_row;
|
|
}
|
|
|
|
const QString& AccountRow::getAddress() const {
|
|
return m_address;
|
|
}
|
|
|
|
const QString& AccountRow::getLabel() const {
|
|
return m_label;
|
|
}
|
|
|
|
QString AccountRow::getBalance() const {
|
|
return WalletManager::displayAmount(m_balance);
|
|
}
|
|
|
|
QString AccountRow::getUnlockedBalance() const {
|
|
return WalletManager::displayAmount(m_unlockedBalance);
|
|
} |