┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinitemlistcontainer.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-08 23:08:01 +0100
committerPeter Penz <[email protected]>2011-12-08 23:10:42 +0100
commita237e085fc976147858161e6c25b33a825f73eeb (patch)
tree043be102e49405bfbe4221ea4d08610c6d86ccf5 /src/views/dolphinitemlistcontainer.h
parent2827b96d9817252c22ae6f788f4d073303178cea (diff)
Fix font settings issue
The font settings have been ignored currently because of the transition to the new view-engine. The patch is based on the work of Janardhan Reddy and has been extended by the helper class ViewModeSettings. BUG: 288395 FIXED-IN: 4.8.0
Diffstat (limited to 'src/views/dolphinitemlistcontainer.h')
-rw-r--r--src/views/dolphinitemlistcontainer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/views/dolphinitemlistcontainer.h b/src/views/dolphinitemlistcontainer.h
index 9cf4bff3f..d91b96a34 100644
--- a/src/views/dolphinitemlistcontainer.h
+++ b/src/views/dolphinitemlistcontainer.h
@@ -22,6 +22,7 @@
#include <kitemviews/kfileitemlistview.h>
#include <kitemviews/kitemlistcontainer.h>
+#include <settings/viewmodes/viewmodesettings.h>
#include <libdolphin_export.h>
@@ -63,8 +64,16 @@ public:
void beginTransaction();
void endTransaction();
+ /**
+ * Refreshs the view by reapplying the (changed) viewmode settings.
+ */
+ void refresh();
+
private:
void updateGridSize();
+ void updateFont();
+
+ ViewModeSettings::ViewMode viewMode() const;
private:
int m_zoomLevel;