#include "accountmodel.hpp" namespace chatterino { namespace controllers { namespace accounts { AccountModel::AccountModel(QObject *parent) : util::SignalVectorModel>(1, parent) { } // turn a vector item into a model row std::shared_ptr AccountModel::getItemFromRow(std::vector &row) { return nullptr; } // turns a row in the model into a vector item void AccountModel::getRowFromItem(const std::shared_ptr &item, std::vector &row) { row[0]->setData(item->toString(), Qt::DisplayRole); } } // namespace accounts } // namespace controllers } // namespace chatterino