Fix bug with app crash on exit. Add keyboard support in wordList, DictTypeSelectDialo...
[mdictionary] / src / mdictionary / gui / WordListWidget.h
index 7128410..f37d176 100644 (file)
@@ -64,7 +64,10 @@ Q_SIGNALS:
 
     void setWordListState(QVariant state);
     void setWordListEmpty(QVariant state);
+
+#ifndef Q_WS_MAEMO_5
     void setFocusOnQML();
+#endif
 
 
 public Q_SLOTS:
@@ -85,7 +88,9 @@ public Q_SLOTS:
 
     void bookmarkModeActive();
 
+#ifndef Q_WS_MAEMO_5
     void setFocusOnElement();
+#endif
 
 protected:
 #ifdef Q_WS_MAEMO_5
@@ -110,8 +115,20 @@ private Q_SLOTS:
     //! Signal is emitted only when a star was clicked.
     void wordChecked(QModelIndex index);
 #else
+    //! Emits signal to show translation of clicked item. Signal is emitted
+    //! only when a word was clicked.
     void wordClicked(QString word);
+
+    //! Emits signal to show translation of clicked item. Signal is emitted
+    //! only when a word was clicked.
+    void wordClickedByIndex(int index);
+
+    //! Emits signal to show add word from bookmarks.
+    //! Signal is emitted only when a star was clicked.
     void addToBookmarks(QString word);
+
+    //! Emits signal to show remove word from bookmarks.
+    //! Signal is emitted only when a star was clicked.
     void removeFromBookmarks(QString word);
 #endif