summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-28 01:42:20 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-28 01:42:20 +0200
commitfe335721c90d0de6f99de7f3e66832a3e8e8dfa1 (patch)
treeca6abd36817b5d16646ad9aff603c50e8869ad4f /src/mainview.cpp
parentcosmetic (diff)
downloadrekonq-fe335721c90d0de6f99de7f3e66832a3e8e8dfa1.tar.xz
Lot of work to do in mainview. Removed status/tool/geometry change view signals
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 1b2d4769..d8d1c2b5 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -364,16 +364,8 @@ WebView *MainView::newWebView(Rekonq::OpenType type)
// connecting webPage signals with mainview
connect(webView->page(), SIGNAL(windowCloseRequested()),
this, SLOT(windowCloseRequested()));
- connect(webView->page(), SIGNAL(geometryChangeRequested(const QRect &)),
- this, SIGNAL(geometryChangeRequested(const QRect &)));
connect(webView->page(), SIGNAL(printRequested(QWebFrame *)),
this, SIGNAL(printRequested(QWebFrame *)));
- connect(webView->page(), SIGNAL(menuBarVisibilityChangeRequested(bool)),
- this, SIGNAL(menuBarVisibilityChangeRequested(bool)));
- connect(webView->page(), SIGNAL(statusBarVisibilityChangeRequested(bool)),
- this, SIGNAL(statusBarVisibilityChangeRequested(bool)));
- connect(webView->page(), SIGNAL(toolBarVisibilityChangeRequested(bool)),
- this, SIGNAL(toolBarVisibilityChangeRequested(bool)));
addTab(webView, i18n("(Untitled)"));
@@ -491,10 +483,10 @@ void MainView::slotCloseTab(int index)
if (tab->isModified())
{
int risp = KMessageBox::questionYesNo(this ,
- i18n("You have modified this page and when closing it you would lose the modification.\n"
- "Do you really want to close this page?\n"),
- i18n("Do you really want to close this page?")
- );
+ i18n("You have modified this page and when closing it you would lose the modification.\n"
+ "Do you really want to close this page?\n"),
+ i18n("Do you really want to close this page?")
+ );
if (risp == KMessageBox::No)
return;
}