diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-02-15 15:35:47 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-02-15 15:35:47 +0100 |
commit | f7792e37654fb9d0509171d946d53e7697ad53e8 (patch) | |
tree | b96edcfceaa8695b81219402abb144038d3aea25 /src/history.cpp | |
parent | Renamed Application class files (diff) | |
download | rekonq-f7792e37654fb9d0509171d946d53e7697ad53e8.tar.xz |
BrowserApplication --> Application
Diffstat (limited to 'src/history.cpp')
-rw-r--r-- | src/history.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/history.cpp b/src/history.cpp index 652ee962..9813d438 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -27,7 +27,7 @@ // Local Includes #include "autosaver.h" -#include "browserapplication.h" +#include "application.h" // KDE Includes #include <KDebug> @@ -465,7 +465,7 @@ QVariant HistoryModel::data(const QModelIndex &index, int role) const } case Qt::DecorationRole: if (index.column() == 0) { - return BrowserApplication::instance()->icon(item.url); + return Application::instance()->icon(item.url); } } return QVariant(); @@ -643,7 +643,7 @@ bool HistoryMenu::prePopulated() { if (!m_history) { - m_history = BrowserApplication::historyManager(); + m_history = Application::historyManager(); m_historyMenuModel = new HistoryMenuModel(m_history->historyTreeModel(), this); setModel(m_historyMenuModel); } @@ -712,7 +712,7 @@ HistoryDialog::HistoryDialog(QWidget *parent, HistoryManager *setHistory) : QDia { HistoryManager *history = setHistory; if (!history) - history = BrowserApplication::historyManager(); + history = Application::historyManager(); setupUi(this); tree->setUniformRowHeights(true); tree->setSelectionBehavior(QAbstractItemView::SelectRows); |