From 31d14571959f1bf750ccc43c15d71ca9338baaaf Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 7 Dec 2006 20:51:05 +0000 Subject: Apply the view properties to sub directories without using a modal window. This allows the user to proceed with the work during the view properties are applied. svn path=/trunk/playground/utils/dolphin/; revision=611369 --- src/viewproperties.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/viewproperties.h') diff --git a/src/viewproperties.h b/src/viewproperties.h index 7f57f2eed..bdc052ed8 100644 --- a/src/viewproperties.h +++ b/src/viewproperties.h @@ -30,23 +30,21 @@ class QFile; /** - * @short Maintains the view properties like 'view mode' or 'show hidden files' for a directory. + * @brief Maintains the view properties like 'view mode' or 'show hidden files' for a directory. * * The view properties are automatically stored inside * the directory as hidden file called '.dolphinview'. To read out the view properties * just construct an instance by passing the Url of the directory: + * * \code * ViewProperties props(KUrl("/home/peter/Documents")); * const DolphinView::Mode mode = props.viewMode(); * const bool showHiddenFiles = props.isShowHiddenFilesEnabled(); * \endcode + * * When modifying a view property, the '.dolphinview' file is automatically updated * inside the destructor. - * - * @author Peter Penz */ -// TODO: provide detailed design description, as mapping the user model to -// the physical modal is not trivial. class ViewProperties { public: @@ -71,7 +69,6 @@ public: void updateTimeStamp(); void save(); - private: bool m_changedProps; bool m_autoSave; -- cgit v1.3.1