From 253c3c87a8a1b6418125f6fd90864c8daa76a0c1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 29 Jul 2007 15:33:52 +0000 Subject: Assure that the view properties of a column view are always stored in the folder represented by the first column. It is assured now, that all columns use the same view properties. Although one reason is because of technical 'restrictions' (KDirLister properties like 'show dot files' are applied to all sub directories too), I personally think it also makes sense from a usability point of view. svn path=/trunk/KDE/kdebase/apps/; revision=693944 --- src/dolphinview.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index b9fe49f00..b26a27069 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -475,6 +475,15 @@ private slots: private: void startDirLister(const KUrl& url, bool reload = false); + /** + * Returns the URL where the view properties should be stored. Usually + * DolphinView::url() is returned, but in the case of a Column View the + * view properties are always stored in the directory represented by the + * first column. It is recommendend whenever using the ViewProperties class + * to use DolphinView::viewPropertiesUrl() as URL. + */ + KUrl viewPropertiesUrl() const; + /** * Applies the view properties which are defined by the current URL * m_url to the DolphinView properties. -- cgit v1.3