┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-07-29 15:33:52 +0000
committerPeter Penz <[email protected]>2007-07-29 15:33:52 +0000
commit253c3c87a8a1b6418125f6fd90864c8daa76a0c1 (patch)
tree291c1a0d4ca6c42d5ec981848fd2bd1b2eaebd1d /src/dolphinview.h
parent4ad6cc3e3d5b2c4a6dc0736b8219c2814ac11465 (diff)
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
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index b9fe49f00..b26a27069 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -476,6 +476,15 @@ 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.
*/