From 7eeb8dba6aeba09aa3dfa7fa5f0b00840d4d8317 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Mon, 15 Mar 2010 10:08:32 +0000 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CCMAIL: Woebbeking@kde.org CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=1103527 --- src/dolphincategorydrawer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dolphincategorydrawer.cpp') 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(); -- cgit v1.3