diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-09-25 18:02:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 02d9b5fe590303e540c1ff9111e0cfe3194f7e7d (patch) | |
tree | f2515238feb6593efc89621805046cca4d24b968 /src/tabwindow/tabwindow.h | |
parent | Don't overwrite downloads by default (diff) | |
download | rekonq-02d9b5fe590303e540c1ff9111e0cfe3194f7e7d.tar.xz |
New Private Browsing mode :D
Diffstat (limited to 'src/tabwindow/tabwindow.h')
-rw-r--r-- | src/tabwindow/tabwindow.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h index 882ca4e9..459621c1 100644 --- a/src/tabwindow/tabwindow.h +++ b/src/tabwindow/tabwindow.h @@ -59,17 +59,19 @@ class TabWindow : public RekonqWindow Q_OBJECT public: - TabWindow(bool withTab = true, QWidget *parent = 0); + TabWindow(bool withTab = true, bool PrivateBrowsingMode = false, QWidget *parent = 0); WebWindow* currentWebWindow() const; WebWindow* webWindow(int index) const; TabBar* tabBar() const; + bool isPrivateBrowsingWindowMode(); + public Q_SLOTS: void loadUrl(const KUrl &, Rekonq::OpenType type = Rekonq::CurrentTab, TabHistory *history = 0); void newCleanTab(); - + private: /** * Prepares the new WebWindow to be open @@ -109,6 +111,8 @@ private: int _openedTabsCounter; QList<TabHistory> m_recentlyClosedTabs; + + bool _isPrivateBrowsing; }; #endif // TAB_WINDOW |