add focus in qml
[mdictionary] / src / mdictionary / gui / SearchBarWidget.h
index 0e84bee..d19ce21 100644 (file)
@@ -61,6 +61,7 @@ Q_SIGNALS:
     void progresSetValue(QVariant);
     void progresSetValue2(QVariant);
     void setCompleterText(QVariant);
+    void focusOff();
 
     //! Requests to search for a list of words matching a word passed as
     //! a parameter
@@ -135,6 +136,8 @@ public Q_SLOTS:
     void updateHistoryButtons(bool prev, bool next, bool list);
 
     void setFocus();
+    void nextFocus();
+    void checkFocus();
 
 private Q_SLOTS:
     //! Clears search word line edit
@@ -155,6 +158,7 @@ private Q_SLOTS:
 
     void prevCompleter();
 
+
 private:
 
     QVBoxLayout* mainLayout;