update// refactored addressbook with new storage format

This commit is contained in:
Strider
2020-04-28 20:24:50 +02:00
parent ae08346bff
commit 2efec07e42
10 changed files with 165 additions and 44 deletions

9
src/contactmodel.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include "contactmodel.h"
void ContactModel::renderContactList(QListWidget* view)
{
for(auto &c : this->_contacts)
{
view->addItem(c.getName());
}
}