From f875ad5313b86275c3fd48884063aefb8849235d Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 2 Feb 2017 14:13:14 +0100 Subject: Added loading bar to status bar Hovered links now display in status bar --- src/widgets/webviewtabbar.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/widgets/webviewtabbar.h') diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h index bf7edb2..260100b 100644 --- a/src/widgets/webviewtabbar.h +++ b/src/widgets/webviewtabbar.h @@ -22,7 +22,7 @@ #define WEBVIEWTABBAR_H #include -#include +#include "webengine/webview.h" class WebViewTabBar : public QTabBar { @@ -35,10 +35,10 @@ public: int addTab(QWebEngineProfile *profile, const QUrl &url); void setProfile(QWebEngineProfile *profile); - QWebEngineView *currentView(); + WebView *currentView(); signals: - void currentTabChanged(QWebEngineView *view); + void currentTabChanged(WebView *view); protected: QSize tabSizeHint(int index) const; @@ -47,10 +47,10 @@ private slots: void handleCurrentChanged(int index); void handleTabClose(int index); - void updateTabText(QWebEngineView *view, const QString &text); + void updateTabText(WebView *view, const QString &text); private: - QVector m_views; + QVector m_views; }; #endif // WEBVIEWTABBAR_H -- cgit v1.2.1