summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-11 12:09:47 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-11 12:09:47 +0200
commit2d52276803a4145546f74d5d179091667e9186ab (patch)
treec5ac11555bd5368670d7f8b812476bf4b8ef07e8 /src/mainview.cpp
parenthonor the "open tabs in the background" for the search with feature (diff)
downloadrekonq-2d52276803a4145546f74d5d179091667e9186ab.tar.xz
This commit aims to fix all troubles with favicons retrieving.
There is at least just another one about threading. But I'm not 100% sure about. And anyway, it will be eventually addressed after 0.6 release..
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index c9f46e5a..f020fb53 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -321,6 +321,7 @@ WebTab *MainView::newWebTab(bool focused)
connect(tab->view(), SIGNAL(loadFinished(bool)), this, SLOT(webViewLoadFinished(bool)));
connect(tab->view(), SIGNAL(titleChanged(const QString &)), this, SLOT(webViewTitleChanged(const QString &)));
connect(tab->view(), SIGNAL(urlChanged(const QUrl &)), this, SLOT(webViewUrlChanged(const QUrl &)));
+ connect(tab->view(), SIGNAL(iconChanged()), this, SLOT(webViewIconChanged()));
// connecting webPage signals with mainview
connect(tab->view()->page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested()));
@@ -631,6 +632,7 @@ void MainView::previousTab()
setCurrentIndex(next);
}
+
void MainView::openClosedTabs()
{
foreach (const HistoryItem &item, recentlyClosedTabs())
@@ -640,6 +642,7 @@ void MainView::openClosedTabs()
m_recentlyClosedTabs.clear();
}
+
void MainView::openClosedTab()
{
KAction *action = qobject_cast<KAction *>(sender());
@@ -654,6 +657,7 @@ void MainView::openClosedTab()
}
}
+
void MainView::switchToTab()
{
// uses the sender to determine the tab index
@@ -665,6 +669,7 @@ void MainView::switchToTab()
setCurrentIndex( index );
}
+
QLabel *MainView::animatedLoading(int index, bool addMovie)
{
if (index == -1)