diff options
| author | Peter Penz <[email protected]> | 2006-12-07 20:51:05 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2006-12-07 20:51:05 +0000 |
| commit | 31d14571959f1bf750ccc43c15d71ca9338baaaf (patch) | |
| tree | 238becaaa9a5cf93c86d4c5f196d602a6a1f21d7 /src/viewproperties.h | |
| parent | 904168ad2a0e2baff0570658c8f9a9c3feba4554 (diff) | |
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
Diffstat (limited to 'src/viewproperties.h')
| -rw-r--r-- | src/viewproperties.h | 9 |
1 files changed, 3 insertions, 6 deletions
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; |
