┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-10 20:29:10 +0000
committerPeter Penz <[email protected]>2007-05-10 20:29:10 +0000
commitd03b27f28850e25d087f946e3a5c99b21c76f359 (patch)
tree27cf913e6d10347df34f7172f4a128bd6246835b /src/dolphincontroller.cpp
parent6ab84fbd6129422dfa59c095087c7ceb1a9e1e50 (diff)
layout improvements in the icons view:
* do a text wrapping if the number of lines is > 1 (TODO: bugfix of KFileItemDelegate necessary, currently the text might overlap with the icon) * increase the height for the text area if an additional information like type, date, ... is shown svn path=/trunk/KDE/kdebase/apps/; revision=663320
Diffstat (limited to 'src/dolphincontroller.cpp')
-rw-r--r--src/dolphincontroller.cpp17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp
index 545d365bd..762526b3c 100644
--- a/src/dolphincontroller.cpp
+++ b/src/dolphincontroller.cpp
@@ -22,6 +22,7 @@
DolphinController::DolphinController(QObject* parent) :
QObject(parent),
m_showPreview(false),
+ m_showAdditionalInfo(false),
m_zoomInPossible(false),
m_zoomOutPossible(false)
{
@@ -60,11 +61,19 @@ void DolphinController::indicateSortOrderChange(Qt::SortOrder order)
emit sortOrderChanged(order);
}
-void DolphinController::setShowPreview(bool showPreview)
+void DolphinController::setShowPreview(bool show)
{
- if (m_showPreview != showPreview) {
- m_showPreview = showPreview;
- emit showPreviewChanged(showPreview);
+ if (m_showPreview != show) {
+ m_showPreview = show;
+ emit showPreviewChanged(show);
+ }
+}
+
+void DolphinController::setShowAdditionalInfo(bool show)
+{
+ if (m_showAdditionalInfo != show) {
+ m_showAdditionalInfo = show;
+ emit showAdditionalInfoChanged(show);
}
}