Files
SilentDragonXLite/src/contactmodel.h
2022-01-13 22:42:18 -05:00

28 lines
489 B
C++

// 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