Hush lite wallet
https://faq.hush.is/sdl
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.
27 lines
489 B
27 lines
489 B
// Copyright 2019-2022 The Hush developers
|
|
// Released under the GPLv3
|
|
#ifndef CONTACTMODEL_H
|
|
#define CONTACTMODEL_H
|
|
|
|
#include "Model/ContactItem.h"
|
|
#include <QListWidget>
|
|
#include "mainwindow.h"
|
|
|
|
|
|
class ContactModel
|
|
|
|
{
|
|
public:
|
|
MainWindow* main;
|
|
std::map<QString, QString> AddressMap;
|
|
|
|
QString getContactbyAddress(QString addr);
|
|
void addLabel(QString addr, QString label);
|
|
|
|
ContactModel() {}
|
|
void renderContactList(QListView* view);
|
|
|
|
|
|
};
|
|
|
|
#endif
|
|
|