From 8f353d7c21f5b3b8c0f5711eb8626df52c5a996e Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 24 May 2015 21:53:12 +0200 Subject: [PATCH] Bring back TabManager plugin --- src/plugins/TabManager/tabmanagerwidget.cpp | 2 +- src/plugins/TabManager/tabmanagerwidget.h | 4 ++-- src/plugins/TabManager/tldextractor/tldextractor.h | 1 + src/plugins/plugins.pro | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/TabManager/tabmanagerwidget.cpp b/src/plugins/TabManager/tabmanagerwidget.cpp index 6f9fdd3d8..6292bfd43 100644 --- a/src/plugins/TabManager/tabmanagerwidget.cpp +++ b/src/plugins/TabManager/tabmanagerwidget.cpp @@ -584,7 +584,7 @@ BrowserWindow* TabManagerWidget::getQupZilla() } } -void TabManagerWidget::makeWebViewConnections(QWebView* view) +void TabManagerWidget::makeWebViewConnections(WebView* view) { if (view) { connect(view->page(), SIGNAL(loadFinished(bool)), this, SLOT(delayedRefreshTree())); diff --git a/src/plugins/TabManager/tabmanagerwidget.h b/src/plugins/TabManager/tabmanagerwidget.h index 9763bd9cc..aafc14ad3 100644 --- a/src/plugins/TabManager/tabmanagerwidget.h +++ b/src/plugins/TabManager/tabmanagerwidget.h @@ -31,7 +31,7 @@ class QTreeWidgetItem; class BrowserWindow; class WebPage; class WebTab; -class QWebView; +class WebView; class TLDExtractor; class TabManagerWidget : public QWidget @@ -66,7 +66,7 @@ private: void groupByWindow(); BrowserWindow* getQupZilla(); - void makeWebViewConnections(QWebView* view); + void makeWebViewConnections(WebView *view); Ui::TabManagerWidget* ui; QPointer p_QupZilla; diff --git a/src/plugins/TabManager/tldextractor/tldextractor.h b/src/plugins/TabManager/tldextractor/tldextractor.h index b0163db0d..7dc520421 100644 --- a/src/plugins/TabManager/tldextractor/tldextractor.h +++ b/src/plugins/TabManager/tldextractor/tldextractor.h @@ -21,6 +21,7 @@ #define TLDExtractor_Version "1.0" #include +#include #include class TLDExtractor : public QObject diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index 1b4d4e4af..2d5b15b60 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -48,6 +48,5 @@ disablePlugin(GreaseMonkey) disablePlugin(MailHandle) disablePlugin(MouseGestures) disablePlugin(PIM) -disablePlugin(TabManager) disablePlugin(TestPlugin) disablePlugin(Videoner)