RecipeDB/model/recipe/ingredients/ingredientlistmodel.cpp

18 lines
431 B
C++
Raw Normal View History

#include "model/recipe/ingredients/ingredientlistmodel.h"
2018-02-12 13:24:11 +00:00
IngredientListModel::IngredientListModel(){
this->ingredients = vector<RecipeIngredient>();
2018-02-12 13:24:11 +00:00
}
int IngredientListModel::rowCount(const QModelIndex &parent) const{
2018-02-12 13:24:11 +00:00
}
QVariant IngredientListModel::data(const QModelIndex &index, int role) const{
2018-02-12 13:24:11 +00:00
}
void IngredientListModel::setIngredients(vector<RecipeIngredient> ingredients){
2018-02-12 13:24:11 +00:00
this->ingredients = ingredients;
}