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

@ -38,8 +38,8 @@ public:
bool isSingleEntrySelected();
void setCurrentEntry(Entry* entry);
Entry* entryFromIndex(const QModelIndex& index);
void search(const QList<Entry*>& entries);
bool inSearch();
void setEntryList(const QList<Entry*>& entries);
bool inEntryListMode();
public Q_SLOTS:
void setGroup(Group* group);
@ -50,13 +50,13 @@ Q_SIGNALS:
private Q_SLOTS:
void emitEntryActivated(const QModelIndex& index);
void switchToSearch();
void switchToView();
void switchToEntryListMode();
void switchToGroupMode();
private:
EntryModel* const m_model;
QSortFilterProxyModel* const m_sortModel;
bool m_inSearch;
bool m_inEntryListMode;
};
#endif // KEEPASSX_ENTRYVIEW_H