diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-30 10:43:47 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | e71c22eec2700fa76874788067c0a3dde7c6c785 (patch) | |
tree | 206c703b779db9aa876ad63224d047ecacbb4823 /src/tabwindow/tabwindow.h | |
parent | Fix tabbar size & new tab button position (diff) | |
download | rekonq-e71c22eec2700fa76874788067c0a3dde7c6c785.tar.xz |
Save & restore window dimension/position
Also, fix tabwindow attributes (quit & delete on close on)
Diffstat (limited to 'src/tabwindow/tabwindow.h')
-rw-r--r-- | src/tabwindow/tabwindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h index b247d4d2..c4ba70be 100644 --- a/src/tabwindow/tabwindow.h +++ b/src/tabwindow/tabwindow.h @@ -57,9 +57,8 @@ class TabWindow : public KTabWidget public: TabWindow(bool withTab = true, QWidget *parent = 0); - - virtual QSize sizeHint() const; - + virtual ~TabWindow(); + WebWindow* currentWebWindow() const; WebWindow* webWindow(int index) const; @@ -75,6 +74,10 @@ private: */ WebWindow *prepareNewTab(WebPage *page = 0); + // internal + void loadWindowSettings(); + void saveWindowSettings(); + private Q_SLOTS: /** * Updates new tab button position |