summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-11 19:32:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-11 19:32:21 +0200
commit08380e9276505735f618a2a48de8d5de4807997f (patch)
tree51a106a184b6a03e7c484774cf1ef54f2add17ab /src/mainview.cpp
parentAdded some functions comment (diff)
downloadrekonq-08380e9276505735f618a2a48de8d5de4807997f.tar.xz
Removed MainView events..
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 3b5db52e..14adaeda 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -599,46 +599,6 @@ void MainView::aboutToShowRecentTriggeredAction(QAction *action)
}
-void MainView::mouseDoubleClickEvent(QMouseEvent *event)
-{
- if (!childAt(event->pos())
- // Remove the line below when QTabWidget does not have a one pixel frame
- && event->pos().y() < (tabBar()->y() + tabBar()->height()))
- {
- newWebView();
- return;
- }
- KTabWidget::mouseDoubleClickEvent(event);
-}
-
-
-void MainView::contextMenuEvent(QContextMenuEvent *event)
-{
- if (!childAt(event->pos()))
- {
- m_tabBar->contextMenuRequested(event->pos());
- return;
- }
- KTabWidget::contextMenuEvent(event);
-}
-
-
-void MainView::mouseReleaseEvent(QMouseEvent *event)
-{
- if (event->button() == Qt::MidButton && !childAt(event->pos())
- // Remove the line below when QTabWidget does not have a one pixel frame
- && event->pos().y() < (tabBar()->y() + tabBar()->height()))
- {
- KUrl url(QApplication::clipboard()->text(QClipboard::Selection));
- if (!url.isEmpty() && url.isValid() && !url.scheme().isEmpty())
- {
- WebView *webView = newWebView();
- webView->setUrl(url);
- }
- }
-}
-
-
void MainView::loadUrlInCurrentTab(const KUrl &url)
{
WebView *webView = currentWebView();