aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 01:38:07 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 01:38:07 +0200
commit74a7ea3732853f954fcab7088acaa2413fc3e7c1 (patch)
tree02ca9dd6f0dd4ea1b18346d4c6004c74c504d04f /src/mainwindow/mainwindow.h
parentMultiple subwindows interface (diff)
downloadsmolbote-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.h7
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