2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-02-10 10:26:41 +00:00
|
|
|
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_ADDRESSBOOKINFO_H
|
|
|
|
#define FEATHER_ADDRESSBOOKINFO_H
|
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_ADDRESSBOOKINFO_H
|