diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-30 17:31:36 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | ab5b4316783e763741db7d66460d616619f23989 (patch) | |
tree | 1e4f7612e5978d44c2fbd9d2d3bb157cf54f44e4 /src/tabwindow/tabwindow.h | |
parent | Save & restore window dimension/position (diff) | |
download | rekonq-ab5b4316783e763741db7d66460d616619f23989.tar.xz |
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...
Diffstat (limited to 'src/tabwindow/tabwindow.h')
-rw-r--r-- | src/tabwindow/tabwindow.h | 10 |
1 files changed, 4 insertions, 6 deletions
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 <KTabWidget> @@ -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 |