diff options
Diffstat (limited to 'src/lib/navigation/urllineedit.h')
-rw-r--r-- | src/lib/navigation/urllineedit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/navigation/urllineedit.h b/src/lib/navigation/urllineedit.h index 548000a..0865d47 100644 --- a/src/lib/navigation/urllineedit.h +++ b/src/lib/navigation/urllineedit.h @@ -34,6 +34,8 @@ public: explicit UrlLineEdit(QWidget *parent = 0); signals: + void addressEntered(const QUrl &url); + void searchTermEntered(const QString &term); public slots: void setUrl(const QUrl &url); @@ -43,6 +45,7 @@ protected: void focusInEvent(QFocusEvent *event); void focusOutEvent(QFocusEvent *event); void resizeEvent(QResizeEvent *event); + void keyPressEvent(QKeyEvent *event); private slots: void showCompleter(const QString &text); @@ -63,6 +66,7 @@ private: bool wasFocused = false; QMenu *m_menu; + QListWidget *listWidget; }; #endif // URLLINEEDIT_H |