mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-17 16:01:05 -04:00
Rename methods in EntryModel and EntryView from "search" to "entry list mode".
This commit is contained in:
parent
33b4cd8636
commit
39b9260719
6 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue