aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/webviewtabbar.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-02-02 14:13:14 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-02-02 14:13:14 +0100
commitf875ad5313b86275c3fd48884063aefb8849235d (patch)
tree9c7933aacc895ab6a52045abc7fe8fb1dccb6c20 /src/widgets/webviewtabbar.h
parentAStyle pass (diff)
downloadsmolbote-f875ad5313b86275c3fd48884063aefb8849235d.tar.xz
Added loading bar to status bar
Hovered links now display in status bar
Diffstat (limited to 'src/widgets/webviewtabbar.h')
-rw-r--r--src/widgets/webviewtabbar.h10
1 files changed, 5 insertions, 5 deletions
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 <QTabBar>
-#include <QWebEngineView>
+#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<QWebEngineView*> m_views;
+ QVector<WebView*> m_views;
};
#endif // WEBVIEWTABBAR_H