2022-02-14 15:38:41 +01:00
|
|
|
#ifndef WALLET_ACCOUNT_ITEM_H
|
|
|
|
#define WALLET_ACCOUNT_ITEM_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2022-02-16 22:51:04 +01:00
|
|
|
namespace Modules::Main::Wallet::Accounts
|
2022-02-14 15:38:41 +01:00
|
|
|
{
|
|
|
|
class Item
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
QString m_name;
|
|
|
|
QString m_address;
|
|
|
|
QString m_path;
|
|
|
|
QString m_color;
|
|
|
|
QString m_publicKey;
|
|
|
|
QString m_walletType;
|
|
|
|
bool m_isWallet;
|
|
|
|
bool m_isChat;
|
|
|
|
float m_currencyBalance;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Item(QString name, QString address, QString path, QString color, QString publicKey, QString walletType, bool isWallet, bool isChat, float currencyBalance);
|
|
|
|
~Item() = default;
|
|
|
|
|
2022-02-16 22:51:04 +01:00
|
|
|
const QString& getName() const;
|
|
|
|
const QString& getAddress() const;
|
|
|
|
const QString& getPath() const;
|
|
|
|
const QString& getColor() const;
|
|
|
|
const QString& getPublicKey() const;
|
|
|
|
const QString& getWalletType() const;
|
|
|
|
bool getIsWallet() const;
|
|
|
|
bool getIsChat() const;
|
|
|
|
float getCurrencyBalance() const;
|
2022-02-14 15:38:41 +01:00
|
|
|
};
|
2022-02-16 22:51:04 +01:00
|
|
|
} // namespace Modules::Main::Wallet::Accounts
|
2022-02-14 15:38:41 +01:00
|
|
|
|
|
|
|
#endif // WALLET_ACCOUNT_ITEM_H
|