#include "model/recipe/ingredients/ingredientlistmodel.h" IngredientListModel::IngredientListModel(){ this->ingredients = vector(); } int IngredientListModel::rowCount(const QModelIndex &parent){ return this->ingredients.size(); } QVariant IngredientListModel::data(const QModelIndex &index, int role){ } void IngredientListModel::setIngredients(vector ingredients){ this->ingredients = ingredients; }