explicit WordListModel(QObject *parent = 0);
int rowCount(const QModelIndex & parent = QModelIndex()) const;
+ void setBookmarkModeActive(bool mode);
QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const;
bool setData(const QModelIndex &index, const QVariant &value, int role);
QHash<QString, bool > _wordInBookmarks;
QList<QString> _wordList;
+ bool isBookmarkModeActive;
+
};
#endif // WORDLISTMODEL_H