From 163fa7ce30c0bd1b18d0c750bf9358560c2db7af Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 13 Dec 2006 07:41:11 +0000 Subject: Instead of having a the 3 view modes "icons", "details" and "previews" only 2 view modes are used now: "icons" and "details". Whether a preview is shown or not is part of the directory view properties. This also means that it will be possible to show previews in the "details" view in future releases. svn path=/trunk/playground/utils/dolphin/; revision=613029 --- src/dolphinview.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 39fb7cc26..2f1d7c605 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -97,13 +97,7 @@ public: * for date, group and permissions. */ DetailsView = 1, - - /** - * The directory items are shown as preview if possible. As - * fallback the items are shown as icons. - */ - PreviewsView = 2, - MaxModeEnum = PreviewsView + MaxModeEnum = DetailsView }; /** Defines the sort order for the items of a directory. */ @@ -138,8 +132,8 @@ public: void setMode(Mode mode); Mode mode() const; - void setShowHiddenFilesEnabled(bool show); - bool isShowHiddenFilesEnabled() const; + void setShowHiddenFiles(bool show); + bool showHiddenFiles() const; void setViewProperties(const ViewProperties& props); -- cgit v1.3