X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmdictionary%2Fgui%2FWordListModel.h;h=11e84395ae9563fe8fae05c99e6a07b60b763c4e;hb=017dcadabdc237efe9d5062fb3cdd36e8b25106a;hp=abb128dd6d76ac286a15e9be464d7b14bb1ade30;hpb=21a14d392f44458d749c76552e971f33625705ea;p=mdictionary diff --git a/src/mdictionary/gui/WordListModel.h b/src/mdictionary/gui/WordListModel.h index abb128d..11e8439 100644 --- a/src/mdictionary/gui/WordListModel.h +++ b/src/mdictionary/gui/WordListModel.h @@ -20,6 +20,7 @@ public: 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); @@ -60,6 +61,8 @@ private: QHash _wordInBookmarks; QList _wordList; + bool isBookmarkModeActive; + }; #endif // WORDLISTMODEL_H