Rename methods in EntryModel and EntryView from "search" to "entry list mode".

This commit is contained in:
Felix Geyer 2012-07-21 18:35:24 +02:00
parent 33b4cd8636
commit 39b9260719
6 changed files with 27 additions and 27 deletions

View file

@ -62,10 +62,10 @@ void EntryModel::setGroup(Group* group)
makeConnections(group);
endResetModel();
Q_EMIT switchedToView();
Q_EMIT switchedToGroupMode();
}
void EntryModel::setEntries(const QList<Entry*>& entries)
void EntryModel::setEntryList(const QList<Entry*>& entries)
{
beginResetModel();
@ -85,7 +85,7 @@ void EntryModel::setEntries(const QList<Entry*>& entries)
}
endResetModel();
Q_EMIT switchedToSearch();
Q_EMIT switchedToEntryListMode();
}
int EntryModel::rowCount(const QModelIndex& parent) const