summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-10 15:20:49 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-10 15:20:49 +0100
commit64cac4862842c7efa2dc7591ab5b672255e49e4c (patch)
treec0ea60adb6761b738315a04d82008c8c15f15f27 /src/tabbar.cpp
parentfixing new mainWindow() behaviour, porting functions calling it (diff)
downloadrekonq-64cac4862842c7efa2dc7591ab5b672255e49e4c.tar.xz
(BIG commit) API change
I fixed rekonq API removing all slotName call switching to a proper getter call (so, name() functions)
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 96d79d42..4ef1c4dd 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -73,8 +73,8 @@ TabBar::TabBar(MainView *parent)
setContextMenuPolicy(Qt::CustomContextMenu);
- connect(this, SIGNAL(contextMenu(int, const QPoint &)), this, SLOT(slotContextMenuRequested(int, const QPoint &)));
- connect(this, SIGNAL(emptyAreaContextMenu(const QPoint &)), this, SLOT(slotEmptyAreaContextMenu(const QPoint &)));
+ connect(this, SIGNAL(contextMenu(int, const QPoint &)), this, SLOT(contextMenu(int, const QPoint &)));
+ connect(this, SIGNAL(emptyAreaContextMenu(const QPoint &)), this, SLOT(emptyAreaContextMenu(const QPoint &)));
}
@@ -236,7 +236,7 @@ void TabBar::mousePressEvent(QMouseEvent *event)
}
-void TabBar::slotContextMenuRequested(int tab, const QPoint &pos)
+void TabBar::contextMenu(int tab, const QPoint &pos)
{
m_actualIndex = tab;
@@ -256,7 +256,7 @@ void TabBar::slotContextMenuRequested(int tab, const QPoint &pos)
}
-void TabBar::slotEmptyAreaContextMenu(const QPoint &pos)
+void TabBar::emptyAreaContextMenu(const QPoint &pos)
{
KMenu menu;
MainWindow *mainWindow = Application::instance()->mainWindow();