diff options
Diffstat (limited to 'src/widgets/webviewtabbar.h')
-rw-r--r-- | src/widgets/webviewtabbar.h | 10 |
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 |