From 3c1c185400a55103cea3ed567de167df87b59945 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 2 Oct 2007 22:04:36 +0000 Subject: Allow showing additional information like type, size and date in parallel for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!). svn path=/trunk/KDE/kdebase/apps/; revision=720283 --- src/dolphincontroller.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/dolphincontroller.cpp') diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index 325608442..7723fd8ef 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -24,9 +24,10 @@ DolphinController::DolphinController(QObject* parent) : QObject(parent), m_showPreview(false), - m_showAdditionalInfo(false), m_zoomInPossible(false), - m_zoomOutPossible(false) + m_zoomOutPossible(false), + m_additionalInfoCount(0), + m_url() { } @@ -80,11 +81,11 @@ void DolphinController::setShowPreview(bool show) } } -void DolphinController::setShowAdditionalInfo(bool show) +void DolphinController::setAdditionalInfoCount(int count) { - if (m_showAdditionalInfo != show) { - m_showAdditionalInfo = show; - emit showAdditionalInfoChanged(show); + if (m_additionalInfoCount != count) { + m_additionalInfoCount = count; + emit additionalInfoCountChanged(count); } } -- cgit v1.3