diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 01:38:07 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 01:38:07 +0200 |
commit | 74a7ea3732853f954fcab7088acaa2413fc3e7c1 (patch) | |
tree | 02ca9dd6f0dd4ea1b18346d4c6004c74c504d04f /src/mainwindow/mainwindow.h | |
parent | Multiple subwindows interface (diff) | |
download | smolbote-74a7ea3732853f954fcab7088acaa2413fc3e7c1.tar.xz |
Enabled address bar suggestions
Also fixed occasional bug when showing the completer.
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r-- | src/mainwindow/mainwindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow/mainwindow.h b/src/mainwindow/mainwindow.h index 1817fdd..ad879c3 100644 --- a/src/mainwindow/mainwindow.h +++ b/src/mainwindow/mainwindow.h @@ -12,11 +12,15 @@ #include <QMainWindow> #include <memory> +class Browser; class QMdiArea; class Configuration; class Window; +class UrlLineEdit; class MainWindow : public QMainWindow { + friend class Browser; + Q_OBJECT public: @@ -43,12 +47,13 @@ protected: private: QString titleSuffix; QMenu *toolsMenu = nullptr; + UrlLineEdit *addressBar; QMdiArea *mdiArea; std::shared_ptr<Configuration> m_config; QMetaObject::Connection titleChangedConnection; - QMetaObject::Connection navigationBarConnection; + QMetaObject::Connection addressBarConnection, navigationBarConnection; }; #endif // SMOLBOTE_MAINWINDOW_H |