You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
662 B
29 lines
662 B
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2014-2021, The Monero Project.
|
|
|
|
#ifndef WOWLET_ADDRESSBOOKINFO_H
|
|
#define WOWLET_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 //WOWLET_ADDRESSBOOKINFO_H
|