diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-10 19:02:12 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-10 19:02:12 +0100 |
commit | 9461c52f07a2bf8b9bc25f037b17805cda51b2b0 (patch) | |
tree | b599e6eff700e65a864bb275c94adc9a6da7e529 /src/rekonqpage | |
parent | Add toggle ability to bk folder in bk page (diff) | |
download | rekonq-9461c52f07a2bf8b9bc25f037b17805cda51b2b0.tar.xz |
Supporting panel (again) :)
- Move to a pure QWidget base window (instead of TabWidget one)
(this to properly store panels position)
- Restoring && rewamping panels code
- Restoring actions to activate/deactivate them
BUG: 312354
Diffstat (limited to 'src/rekonqpage')
-rw-r--r-- | src/rekonqpage/newtabpage.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rekonqpage/newtabpage.cpp b/src/rekonqpage/newtabpage.cpp index c1a1f248..48b567de 100644 --- a/src/rekonqpage/newtabpage.cpp +++ b/src/rekonqpage/newtabpage.cpp @@ -34,7 +34,8 @@ // Local Includes #include "application.h" -#include "tabwindow.h" +#include "rekonqwindow.h" +#include "tabwidget.h" #include "previewselectorbar.h" #include "thumbupdater.h" @@ -181,7 +182,7 @@ void NewTabPage::generate(const KUrl &url) { const int tabIndex = url.queryItem(QL1S("tab")).toInt(); - rApp->tabWindow()->restoreClosedTab(tabIndex, false); + rApp->rekonqWindow()->tabWidget()->restoreClosedTab(tabIndex, false); return; } } @@ -430,7 +431,7 @@ void NewTabPage::historyPage(const QString & filter) m_root.document().findFirst(QL1S("#actions")).appendInside(clearHistory); HistoryTreeModel *model = HistoryManager::self()->historyTreeModel(); - UrlFilterProxyModel *proxy = new UrlFilterProxyModel(this); + SortFilterProxyModel *proxy = new SortFilterProxyModel(this); proxy->setSourceModel(model); bool filterIsEmpty = filter.isEmpty(); @@ -563,7 +564,7 @@ void NewTabPage::closedTabsPage() { m_root.addClass(QL1S("closedTabs")); - QList<TabHistory> links = rApp->tabWindow()->recentlyClosedTabs(); + QList<TabHistory> links = rApp->rekonqWindow()->tabWidget()->recentlyClosedTabs(); if (links.isEmpty()) { |