From c1f27bb620337c7f173fce1dd3097fa3e43c2878 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 26 Oct 2007 18:34:45 +0000 Subject: Simplify the DolphinController: The "show hidden files" state can be retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow... svn path=/trunk/KDE/kdebase/apps/; revision=729721 --- src/dolphincontroller.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/dolphincontroller.cpp') diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index ebd85e021..bdb97170b 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -23,11 +23,9 @@ DolphinController::DolphinController(DolphinView* dolphinView) : QObject(dolphinView), - m_showHiddenFiles(false), m_showPreview(false), m_zoomInPossible(false), m_zoomOutPossible(false), -//m_additionalInfoCount(0), m_url(), m_dolphinView(dolphinView) { @@ -87,14 +85,6 @@ void DolphinController::indicateAdditionalInfoChange(const KFileItemDelegate::In emit additionalInfoChanged(info); } -void DolphinController::setShowHiddenFiles(bool show) -{ - if (m_showHiddenFiles != show) { - m_showHiddenFiles = show; - emit showHiddenFilesChanged(show); - } -} - void DolphinController::setShowPreview(bool show) { if (m_showPreview != show) { @@ -103,14 +93,6 @@ void DolphinController::setShowPreview(bool show) } } -/*void DolphinController::setAdditionalInfoCount(int count) -{ - if (m_additionalInfoCount != count) { - m_additionalInfoCount = count; - emit additionalInfoCountChanged(count); - } -}*/ - void DolphinController::indicateActivationChange(bool active) { emit activationChanged(active); -- cgit v1.3