update// refactored addressbook with new storage format
This commit is contained in:
9
src/contactmodel.cpp
Normal file
9
src/contactmodel.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "contactmodel.h"
|
||||
|
||||
void ContactModel::renderContactList(QListWidget* view)
|
||||
{
|
||||
for(auto &c : this->_contacts)
|
||||
{
|
||||
view->addItem(c.getName());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user