┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincategorydrawer.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2010-03-15 10:08:32 +0000
committerRafael Fernández López <[email protected]>2010-03-15 10:08:32 +0000
commit7eeb8dba6aeba09aa3dfa7fa5f0b00840d4d8317 (patch)
tree2c89332b2bc41efae6ac42350ea78aa45a00a03f /src/dolphincategorydrawer.cpp
parentfa24cc8e115e785cc02d0d3d3bf0c1574c783f63 (diff)
Get back names, and use "using" keyword to keep GCC silent on "method foo on base class hidden y method foo on derived class". Thanks to André for pointing out this trick.
CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1103527
Diffstat (limited to 'src/dolphincategorydrawer.cpp')
-rw-r--r--src/dolphincategorydrawer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp
index 303edf174..59743b7f5 100644
--- a/src/dolphincategorydrawer.cpp
+++ b/src/dolphincategorydrawer.cpp
@@ -286,7 +286,7 @@ int DolphinCategoryDrawer::categoryHeight(const QModelIndex &index, const QStyle
return heightWithoutIcon + 5;
}
-void DolphinCategoryDrawer::buttonPressed(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
+void DolphinCategoryDrawer::mouseButtonPressed(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
{
if (!index.isValid()) {
event->ignore();
@@ -319,7 +319,7 @@ void DolphinCategoryDrawer::buttonPressed(const QModelIndex &index, const QRect
event->ignore();
}
-void DolphinCategoryDrawer::buttonReleased(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
+void DolphinCategoryDrawer::mouseButtonReleased(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
{
if (!index.isValid() || hotSpotPressed == NoneHotSpot || categoryPressed != index) {
event->ignore();