first (buggy) version of keyboard usage in qml list
[mdictionary] / src / mdictionary / gui / WordListWidget.h
index 2a95c37..7128410 100644 (file)
@@ -63,6 +63,8 @@ Q_SIGNALS:
     void removeBookmark(QList<Translation*>);
 
     void setWordListState(QVariant state);
+    void setWordListEmpty(QVariant state);
+    void setFocusOnQML();
 
 
 public Q_SLOTS:
@@ -81,6 +83,10 @@ public Q_SLOTS:
     //! clears list
     void clear();
 
+    void bookmarkModeActive();
+
+    void setFocusOnElement();
+
 protected:
 #ifdef Q_WS_MAEMO_5
     //! Reimplemented standard mouseReleaseEvent to check if user clicked on
@@ -126,6 +132,8 @@ private:
     QHash<QString, QList<Translation*> > searchResult;
     WordListProxyStyle* proxyStyle;
 
+    bool _isBookmarkModeActive;
+
 #ifndef Q_WS_MAEMO_5
     QVBoxLayout* verticalLayout;
     QDeclarativeView* qmlView;