diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-18 02:51:24 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-18 02:51:24 +0100 |
commit | 0dc1272340d4deda7f9b07c5278fac9e04383b18 (patch) | |
tree | 041c3e575f9b45ae5d9d97a6fd3cf750b6fb87a5 /src/browsermainwindow.h | |
parent | Adjusted download directory requester (diff) | |
download | rekonq-0dc1272340d4deda7f9b07c5278fac9e04383b18.tar.xz |
Lots of improvements in save/restore state functions.
- saving toolbar lock
- removing unuseful save/restore tabWidget functions
- saving navigation toolbar settings
Diffstat (limited to 'src/browsermainwindow.h')
-rw-r--r-- | src/browsermainwindow.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/browsermainwindow.h b/src/browsermainwindow.h index d50abcc4..3bd80168 100644 --- a/src/browsermainwindow.h +++ b/src/browsermainwindow.h @@ -41,9 +41,8 @@ class QWebFrame; class TabWidget; class WebView; -/*! +/** The MainWindow of the Browser Application. - Handles the tab widget and all the actions */ class BrowserMainWindow : public KMainWindow @@ -57,8 +56,10 @@ public: static KUrl guessUrlFromString(const QString &url); TabWidget *tabWidget() const; WebView *currentTab() const; - QByteArray saveState(bool withTabs = true) const; - bool restoreState(const QByteArray &state); + + + QByteArray saveState() const; + void restoreState(const QByteArray &state); public slots: void loadPage(const QString &url); |