QMap<QDate, QList<MyClass*>*>::const_iterator item = lessons.begin();
switch (role) {
case Roles::DateRole:
return item.key();
case Roles::LessonRole:
return QVariant((item.value()));
default:
return QVariant();