diff options
| author | Peter Penz <[email protected]> | 2007-10-02 22:04:36 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-10-02 22:04:36 +0000 |
| commit | 3c1c185400a55103cea3ed567de167df87b59945 (patch) | |
| tree | cb795f1bb1582e9728634f31d66e1fc989a7c087 /src/dolphincontroller.cpp | |
| parent | ba150e5735bd336752f713df1e9f66b7ed90e6ae (diff) | |
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
Diffstat (limited to 'src/dolphincontroller.cpp')
| -rw-r--r-- | src/dolphincontroller.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
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); } } |
