src/controllers/nicknames/NicknamesModel.cpp
void NicknamesModel::getRowFromItem(const Nickname &item,
                                    std::vector<QStandardItem *> &row)
{
    setStringItem(row[0], item.name());
    setStringItem(row[1], item.replace());
}
// turns a row in the model into a vector item
turns a row in the model into a vector item
turns a row in the model into a vector item
void NicknamesModel::getRowFromItem(const Nickname &item,
                                    std::vector<QStandardItem *> &row)
{
    setStringItem(row[0], item.name());
    setStringItem(row[1], item.replace());
}
void NicknamesModel :: getRowFromItem ( const Nickname & item , std :: vector < QStandardItem * > & row ) { setStringItem ( row [ 0 ] , item . name ( ) ) ; setStringItem ( row [ 1 ] , item . replace ( ) ) ; }
turns a row in the model into a vector item
turns a row in the model into a vector item