From ab5b4316783e763741db7d66460d616619f23989 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 30 Aug 2012 17:31:36 +0200 Subject: Implement RekonqWindow Now, all the "KMainWindow" logic is moved to this new class. "Restored" session management. NOTE: Probably needs some fixes yet, but seems going in the right direction... --- src/tabwindow/tabwindow.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/tabwindow/tabwindow.h') diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h index c4ba70be..9dda54c3 100644 --- a/src/tabwindow/tabwindow.h +++ b/src/tabwindow/tabwindow.h @@ -31,6 +31,9 @@ // Rekonq Includes #include "rekonq_defines.h" +// Local Includes +#include "rekonqwindow.h" + // KDE Includes #include @@ -51,13 +54,12 @@ class WebWindow; // -------------------------------------------------------------------------------------- -class TabWindow : public KTabWidget +class TabWindow : public RekonqWindow { Q_OBJECT public: TabWindow(bool withTab = true, QWidget *parent = 0); - virtual ~TabWindow(); WebWindow* currentWebWindow() const; WebWindow* webWindow(int index) const; @@ -74,10 +76,6 @@ private: */ WebWindow *prepareNewTab(WebPage *page = 0); - // internal - void loadWindowSettings(); - void saveWindowSettings(); - private Q_SLOTS: /** * Updates new tab button position -- cgit v1.2.1