aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-30 15:37:30 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-30 15:37:30 +0100
commitd6101a83cad797e80ade602662878378ee0f2306 (patch)
treee4f1627aea8ac370f0b6608dcb134fd18ca174fd /src/mainwindow.h
parentAdded bug reporting section to Contributing (diff)
downloadsmolbote-d6101a83cad797e80ade602662878378ee0f2306.tar.xz
Added UrlLineEdit class
Address bar should highlight the host name WebView widget should now be focused on startup instead of the address bar Added names to the toolbars to make their context menu useful Tabs now have a set width of 200
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index e4c1a1f..4a7455a 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -23,7 +23,7 @@
#include <QMainWindow>
#include <QToolBar>
-#include <QLineEdit>
+#include "widgets/urllineedit.h"
#include <QWebEngineView>
#include "webengine/webengineprofile.h"
#include <QUrl>
@@ -61,7 +61,6 @@ private slots:
void handleNewWindow(const QUrl &url = QUrl(""));
void handleTabChanged(QWebEngineView *view);
void handleUrlChanged();
- void handleUrlUpdated(const QUrl &url);
void handleTitleUpdated(const QString &title);
private:
@@ -75,7 +74,7 @@ private:
Ui::MainWindow *ui;
QToolBar *navigationToolBar, *tabToolBar;
WebViewTabBar *tabBar;
- QLineEdit *urlLineEdit;
+ UrlLineEdit *urlLineEdit;
};
#endif // MAINWINDOW_H