Fix random error when remove word from bookmark. Fix show all bookmark feature.
[mdictionary] / src / mdictionary / gui / WordListWidget.h
index 2a95c37..9b293c9 100644 (file)
@@ -81,6 +81,8 @@ public Q_SLOTS:
     //! clears list
     void clear();
 
+    void bookmarkModeActive();
+
 protected:
 #ifdef Q_WS_MAEMO_5
     //! Reimplemented standard mouseReleaseEvent to check if user clicked on
@@ -126,6 +128,8 @@ private:
     QHash<QString, QList<Translation*> > searchResult;
     WordListProxyStyle* proxyStyle;
 
+    bool isBookmarkModeActive;
+
 #ifndef Q_WS_MAEMO_5
     QVBoxLayout* verticalLayout;
     QDeclarativeView* qmlView;