2020-10-07 11:36:04 +01:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2014-2021, The Monero Project.
|
2020-10-07 11:36:04 +01:00
|
|
|
|
2021-03-30 10:52:29 +01:00
|
|
|
#ifndef WOWLET_ADDRESSBOOKINFO_H
|
|
|
|
#define WOWLET_ADDRESSBOOKINFO_H
|
2020-10-07 11:36:04 +01:00
|
|
|
|
|
|
|
#include <wallet/api/wallet2_api.h>
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class AddressBookInfo : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY(QString address READ address);
|
|
|
|
Q_PROPERTY(QString description READ description);
|
|
|
|
|
|
|
|
public:
|
|
|
|
QString address() const;
|
|
|
|
QString description() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
explicit AddressBookInfo(const Monero::AddressBookRow *pimpl, QObject *parent = nullptr);
|
|
|
|
|
|
|
|
friend class AddressBook;
|
|
|
|
QString m_address;
|
|
|
|
QString m_description;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-03-30 10:52:29 +01:00
|
|
|
#endif //WOWLET_ADDRESSBOOKINFO_H
|