diff options
Diffstat (limited to 'src/views/dolphinitemlistcontainer.h')
| -rw-r--r-- | src/views/dolphinitemlistcontainer.h | 9 |
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; |
