diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-10-28 22:19:24 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-28 22:19:24 +0200 |
commit | cf7662212b6915dc0ea0992e0f9eb6509481b767 (patch) | |
tree | f39c1c51245794be5ca6c22de44e8287e5eabcc4 /src/application.h | |
parent | Merge branch 'AboutPagesIcon' into NEWMASTER (diff) | |
parent | This commit implements the new private browsign mode for rekonq: (diff) | |
download | rekonq-cf7662212b6915dc0ea0992e0f9eb6509481b767.tar.xz |
Merge branch 'NewPrivateBrowsing' into NEWMASTER
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/application.h b/src/application.h index 8afb956f..b30e337c 100644 --- a/src/application.h +++ b/src/application.h @@ -50,6 +50,9 @@ class MainWindow; class OpenSearchManager; class SessionManager; +class KAction; + + namespace ThreadWeaver {class Job;} @@ -107,6 +110,8 @@ public: void addDownload(const QString &srcUrl, const QString &destUrl); DownloadList downloads(); bool clearDownloadsHistory(); + + KAction *privateBrowsingAction() { return _privateBrowsingAction; }; public slots: /** @@ -124,7 +129,6 @@ public slots: void removeMainWindow(MainWindow *window); private slots: - /** * Any actions that can be delayed until the window is visible */ @@ -134,6 +138,9 @@ private slots: void updateConfiguration(); + // the general place to set private browsing + void setPrivateBrowsingMode(bool); + private: static QWeakPointer<HistoryManager> s_historyManager; static QWeakPointer<BookmarkProvider> s_bookmarkProvider; @@ -143,6 +150,8 @@ private: static QWeakPointer<IconManager> s_iconManager; MainWindowList m_mainWindows; + + KAction *_privateBrowsingAction; }; #endif // APPLICATION_H |