[EGD-3189] PR changes. Created InternalModel.hpp.

This commit is contained in:
Przemyslaw Brudny
2020-07-07 13:05:08 +02:00
committed by pawel-mudita
parent d4ee22890e
commit 3b2b0f0909
18 changed files with 97 additions and 67 deletions

View File

@@ -15,9 +15,6 @@
NotesModel::NotesModel(app::Application *app) : DatabaseModel(app)
{}
NotesModel::~NotesModel()
{}
void NotesModel::requestRecordsCount()
{
recordsCount = DBServiceAPI::NotesGetCount(application);
@@ -52,9 +49,8 @@ bool NotesModel::updateRecords(std::unique_ptr<std::vector<NotesRecord>> records
return true;
}
unsigned int NotesModel::getMinimalItemHeight()
unsigned int NotesModel::getMinimalItemHeight() const
{
return 146;
}