summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-28 19:15:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-28 19:15:42 +0200
commit4c3f484e1f697d93877db5425fb6ac6e6cab40a2 (patch)
tree5ad851f0a74194c8863ec63736a57a269733962e /src
parentFaster Mainview load (diff)
downloadrekonq-4c3f484e1f697d93877db5425fb6ac6e6cab40a2.tar.xz
Removed Qt4.4 compatibility slots
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp23
-rw-r--r--src/mainview.h3
2 files changed, 0 insertions, 26 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index e4958919..8f96637d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -221,29 +221,6 @@ void MainView::clear()
}
-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(true);
- return;
- }
- KTabWidget::mouseDoubleClickEvent(event);
-}
-
-
-void MainView::contextMenuEvent(QContextMenuEvent *event)
-{
- if (!childAt(event->pos()))
- {
- m_tabBar->contextMenuRequested(event->pos());
- return;
- }
- KTabWidget::contextMenuEvent(event);
-}
-
// When index is -1 index chooses the current tab
void MainView::slotReloadTab(int index)
{
diff --git a/src/mainview.h b/src/mainview.h
index 529b441d..b48023ed 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -103,9 +103,6 @@ public:
void showTabBar();
void clear();
-protected:
- virtual void mouseDoubleClickEvent(QMouseEvent *event);
- virtual void contextMenuEvent(QContextMenuEvent *event);
public slots:
/**